Good morning, I would like to bring to your attention an important "problem" regarding the "Synchro Data Source" function.
I make a brief summary of what I have developed before addressing the problem: In the company, a need has arisen to synchronize data from our IDP to iTop.For the purpose, I have made a script in Python that goes to feed a csv file, once fed this file needs to be forwarded to iTop to synchronize the "Person" class the script works very well, except for the last change I am trying to implement namely: the synchronization of the profile picture.I learned that the field "picture" works very well in case of manual import, however if I go to do the import via my script (so via CLI) when it tries to perform the synchronization it returns in SSH "Unknown column picture class person" which is very strange because in the Synchro attributes the field actually exists!
What do you guys suggest? What approach could I take to implement the profile picture as well?
Thank you very much!
Personally, I would adapt the synchro Data Source so that it works similarly with manual importing
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks to @hipska, it's available since iTop 3.0.1 https://github.com/Combodo/iTop/pull/236
You need to provide 3 columns
* picture_data : data is base64 encoded
* picture_minetype
* picture_filename
👍
2
Last edit: Alexandre 2023-12-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This enhancement is avalaible in iTop since iTop3.0.1, so it's available in iTop 3.1 to.
Could you please share the structure of your CSV File and the screen copy of your datasynchronization in iTop.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good morning, I would like to bring to your attention an important "problem" regarding the "Synchro Data Source" function.
I make a brief summary of what I have developed before addressing the problem: In the company, a need has arisen to synchronize data from our IDP to iTop.For the purpose, I have made a script in Python that goes to feed a csv file, once fed this file needs to be forwarded to iTop to synchronize the "Person" class the script works very well, except for the last change I am trying to implement namely: the synchronization of the profile picture.I learned that the field "picture" works very well in case of manual import, however if I go to do the import via my script (so via CLI) when it tries to perform the synchronization it returns in SSH "Unknown column picture class person" which is very strange because in the Synchro attributes the field actually exists!
What do you guys suggest? What approach could I take to implement the profile picture as well?
Thank you very much!
Personally, I would adapt the synchro Data Source so that it works similarly with manual importing
UP! @pgoiffon @cisou
Hello,
What is your datasynchro config ?
Hello! please explain: you want see attributes?
Thanks to @hipska, it's available since iTop 3.0.1 https://github.com/Combodo/iTop/pull/236
You need to provide 3 columns
* picture_data : data is base64 encoded
* picture_minetype
* picture_filename
Last edit: Alexandre 2023-12-26
Yeah but this PR isn't implemented on iTop 3.x yet.
i'm using it and don't work correctly.
This enhancement is avalaible in iTop since iTop3.0.1, so it's available in iTop 3.1 to.
Could you please share the structure of your CSV File and the screen copy of your datasynchronization in iTop.