Edit JSON Item urls/ids in portal

11-26-2019 02:19 PM
Occasional Contributor


I'm trying to copy our WebMaps from AGOL to Portal. 

My current process is to use AGOL Assistant and Copy the map over to the new Portal. However, that works if all the content was in the same location, we moved all the reference data to a new location in Portal (data store) . So my steps to change the items in the new map in portal are as following in AGOL Assist: 

   1. Change the service URL's 

   2. Go into the JSON and change the ItemID. 

I have to do this for every WebMap and every layer in the webapp. 

Is there a way this can be done with python using the arcgis library or any other automated way? 



0 Replies