AnsweredAssumed Answered

How to Copy and Edit a Web Map with the REST API

Question asked by nilsbabel on Jan 29, 2016
Latest reply on Feb 1, 2016 by nilsbabel

Can anyone provide an example or point me in the right direction on how to copy and edit a web map in ArcGIS.com using the REST API?  I've read the documentation on web maps in the ArcGIS REST API Maybe I missed it but I don't see any examples of how to create/save or edit an existing web map.  It just documents the web map format.  Which is fine, I could use the documentation to write a web map with the correct specifications but I don't know how to save it to my ArcGIS.com site and give it a web map ID. 

 

I've used the ArcGIS Online Assistant which is very useful but again it doesn't really help me automate it. 

 

What I would like to do is write a script that creates or copies a web map and changes the filter on a layer in the map.  Has anyone done this before or have any suggestions?

 

Thanks!

Outcomes