Hi All!, I have a question
Currently, I am using the following python lines to update a form. What I want to update the most is the media file of it, so the survey can do the pulldata of the new registers.
I run this lines:
#Getting the survey Item I will update
org_gis = GIS('my_http', 'my_user', 'my_pswrd')
srv_to_update = org_gis.content.get('srv_to_update_id')
#The path of the survey, with the new media files
path = ".../ArcGIS/My Survey Designs/survey.zip"
#Update
srv_to_update.update(data = path, item_properties={'type' : 'Form', 'title': 'survey', 'tags' : []})
I get:
True as output, and the Form load without errors.
However, when I go to the "updated" survey in my portal the pulldata of the new registers is not working.
Any clue of why is this happening? Should I include another parameter in the update function?
Thank you all in advance!
Regards!