webmaps that do not corrupt with republishing

664
2
05-29-2018 08:30 AM
Status: Open
by Anonymous User
Not applicable

Republishing an MXD after adding layers to it or re-ordering them, used to mess up popups. That was supposed to be fixed in 10.3+.  We upgraded to 10.5.1. Well, the layer IDs don't change, but it still messes up popups.

My idea is simple:  if a user republishes an MXD, don't corrupt the webmap.  Layers that are there already, stay put and their popups continue working the same. Also, new layers get added.  So in other words, what's there, stays the same, and keeps working. (And if a layer was deleted in the MXD of course it would be removed also in the webmap). 

My viewers now use the enable popups for all layers WAB mod, but I have a lot of custom popups I used AGOL HTML in the popup for.  Re-adding the custom HTML over and over is frustrating. I hoped 10.3 fixed it; it has not.  Will this be a goal for Esri - AGOL?

2 Comments
Anish_Adhikari

I am having the same problem on 10.4.1. It is annoying having to spend time re-configuring the popups after updating the mxd. 

by Anonymous User

A simple solution, could be let us reference layers by name. How often do you simply have to re-order layers in an mxd, then republish, for example. Perhaps you had a point layer under a polygon layer or something. Nothing changes except layerIDs but this will corrupt them. I had taken to having weird "spacer layers" in my services at one point, if I had to remove layers, for example; and other workarounds. There must be a way forward..