Select to view content in your preferred language

ArcGIS online pop up issue when adding new layer to service

3297
3
05-12-2016 11:47 PM
GIS_Administratorat_RWE
Occasional Contributor

Hi there,

I have a AGOL WebApp based on an AGOL Webmap that consumes an internal AGS service. I have pop ups configure for most of the layers in the WebApp.

As this is dynamic project, the service gets updated once in a while with a new layer. Whenever doing this, the new layer is properly visible in the WebApp - BUT all configured pop ups in AGOL (that are listed below the new layer in the TOC of the service mxd) gets mixed up and I have to configure them all again. Pretty annoying and time consuming job. It seems that the pop ups have a connection to the layer id of the service (which might change when you add anew layer to a service).

Has someone experienced the same issue and probably found a workaround/solution?

Thanks a lot and kind regards

Felix

Tags (2)
0 Kudos
3 Replies
PanagiotisPapadopoulos
Esri Regular Contributor

maybe is better to set the layer ids on the mxd to be static

Set up the map document to preserve layer and table IDs

see here Map authoring considerations—Documentation | ArcGIS for Server

0 Kudos
GIS_Administratorat_RWE
Occasional Contributor

Dear Panagiotis,

thanks for the quick reply - good hint!

I am wondering if you have any experience in setting the layer id's initially with a arcpy script. I have found out to get the layer id's using describe, but haven't found a way to set these with arcpy..

Thanks

Felix

0 Kudos
PanagiotisPapadopoulos
Esri Regular Contributor

According to the following link How is it possible to set a layer or table ID with arcpy (ArcGIS 10.3.1)?  it is not possible.

0 Kudos