Hi Atma,
Thanks for the tip! I hadn't worked with the API in a while and didn't realize I could work with the WebMap object directly. We are experiencing strange behaviour with the update() function: when calling cloned_webmap.update() with no parameters, the urls are not updated in the webmap. When I give a dictionary of item_properties as a first argument, then the urls are updated but the properties (ie title, name, description, tags...) are not updated. I have also tried the same properties with .save() which I would expect to create a new WebMap but it seems nothing is happening. Another thing we tried is changing the properties directly such as cloned_WebMap_item.title = webMapTitle and then ran update() again, but that also made no difference... here's the code snippet:
web_map_properties = {
"title": "Test WebMap",
"description": "Test WebMap description",
"tags": "Calculation, Result"
}
cloned_webmap.update(web_map_properties)
cloned_WebMap_item.title = "Test WebMap"
cloned_webmap.update(web_map_properties)
Do you have any suggestions or notice what I am doing wrong?
Thank you again for your help!