AnsweredAssumed Answered

Edit JSON Item urls/ids in portal

Question asked by deleted-user-yC5VkbyXzrQR on Nov 26, 2019

Hello, 

 

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? 

 

Thanks. 

 

Adam 

Outcomes