07-07-2020 07:52 AM
Hello,
in the desktop application, I want to modify multiple point geometry of the selected features of the map
I know there is a function called SC.digitize
SC.digitize('ASSETS', {commands: ['MODIFY'], startOnLoad:'MODIFY'}, [{FORM.id}])
but it modifies one point of the form id only but I need to modify of all selected features of the map
is there a simple way to do this?
07-07-2020 11:11 PM
you have to provide the list of IDs to the digitize method. An array of IDs can be for instance collected in a formTable.
07-08-2020 12:56 AM - edited 07-08-2020 02:12 AM
Hello @sturcato,
Thanks for your response but can you help me with the right XML code or screenshot in workflow
that will help me very much
07-08-2020 04:42 AM
hello @sturcato,
I have followed your instruction and make formtable wich select features by SESSION.MAP.MapSelection
but I have got this error
and here is my javascript code
SC.digitize('ASSETS', {commands:['MODIFY'], startOnLoad:'MODIFY'},[{SESSION.MAP.MapSelection}])
where is the wrong step?
and there is no log!!
07-08-2020 04:45 AM
try to use the formtable to be passed to the digitize action, I'm not sure what is the format of the session variable.
07-08-2020 04:49 AM - edited 07-08-2020 04:53 AM
@sturcato
I have tried to use the formtable to be passed to the digitize action and got same error!
07-08-2020 05:02 AM
did you check the log file?
07-08-2020 05:09 AM
I have checked the logs in security tap and there is nothing about this error
is there txt file store the logs?
07-08-2020 05:53 AM
it is the client log file, you can open it from the button on the bottom right corner of the desktop app
07-09-2020 12:19 AM - edited 07-09-2020 12:26 AM
Hello @sturcato,
yes I found this log but I can't find where the problem
please check the attached file
and there is something else I would mention for, the EPSG in the database of the layer is 4326 but in the desktop application is 3857
is that the reason for the problem?