Select to view content in your preferred language

Best Practice to promote Webmap across environments

159
3
11-20-2024 08:28 AM
DRae
by
Occasional Contributor

We have two environments for ArcGIS Enterprise. One is Production and One is Staging. We usually deploy the webmap/feature layer from ArcGIS to Staging first, and then to the production. However, the item id will be different across the environments. What is the best practice to do the promotion such as that? Also can we make sure the item id will stay the same across the different environment?

 

0 Kudos
3 Replies
simoxu
by MVP Regular Contributor
MVP Regular Contributor

It really depends on your environment architecture and the nature of the services, are they hosted or referenced? are they sharing the same geodatabase, etc. 

in terms of preserving the itemid, yes you can preserve the item id when you are cloning the items.

simoxu_0-1732456244363.png

see details here:

https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentMana...

 

0 Kudos
TimoT
by
Frequent Contributor
simoxu
by MVP Regular Contributor
MVP Regular Contributor

ah.. just remember @JakeSkinner  had a great post about migrating content from one environment to another, please check it out:

https://community.esri.com/t5/arcgis-enterprise-documents/migrate-content-for-arcgis-enterprise-arcg...