PROBLEM
After overwriting a feature service using an MXD where the order of the layers are changed, or another layer is added that changes the order of the layers, pop-ups for the feature layers in the web map are switched between the layers. This can be verified by viewing the order of the layers and the Configure Pop-up pane for the reordered layers in the ArcGIS Online web map before and after overwriting the feature service.
The image below displays the content of the feature service containing three different layers, and the Configure Pop-up pane for the Point layer before overwriting the feature service. The Pop-up Title for the Point layer is set as Point: {Id}, and the attributes to display are Id and Description.
The image below displays the Configure Pop-up pane for the Point layer after overwriting the feature service. The Pop-up Title and pop-up attributes are switched with the pop-up configuration for the Line layer. For example, the Pop-up Title for the Point layer is changed to Line: {Id}, which is the pop-up title for the Line layer. When configuring the attributes to display, the attributes of the Point layer are no longer available to be selected.
Pop-ups in web maps store information on the service layers based on the specific layer ID ordering. By republishing the service with a different layer order, the web map now references different layers.
Get help from ArcGIS experts
Download the Esri Support App