I made a copy of a web map with a detailed popup configuration. Output map has not pop-ups enabled and after turning them on the content goes back to default (all fields, no aliases etc.)
Is this expected behavior?
I copied mine by going into the map - save - save as. The copied map did save my popups including the field to show and text field with hyperlinks. This was in 11.2
I have 41 of them, I need to use the script...
Little out of my wheelhouse then. There is a lot of documentation for cloning from one environment to another. Not sure if it would work within the same.
https://developers.arcgis.com/python/latest/guide/cloning-content/
Manually doing it really doesn't take a lot of time unless this is something you're going to have to do over and over.
I also need to change the source and some other things which in my organisation we do by scripts.
Web Map is actually some sort of configuration saved in json file. Why the popup conf is not stored there?
like this idea: https://community.esri.com/t5/arcgis-online-ideas/reusable-pop-up-configurations/idi-p/929791
Are your popups configured in Portal or Pro before publishing?
Laura, I have found what I was doing wrong: I thought my two envs host the same map service sets but unfortunately layers IDs were different which caused popus not working properly.
Thanks!