I have published a feature layer and the pop-ups were configured in ArcGIS Pro before publishing.
When I check the pop-ups in the Visualisation tab of the published layer, they have honoured what I configured in Pro.
However, when I add the feature layer using the service URL into a blank web map in the new Map Viewer, the pop-up configuration is lost. The pop-ups stay consistent in Map Viewer Classic.
I am confused because I configured the pop-ups in Pro.
How do I get the pop-up configuration to stick in the new Map Viewer when using the service URL?
Solved! Go to Solution.
Popups are not stored at the service level. Popups will only be at the layer item level or web map. When you add at the service level both apps will generate a default popup that will just be a field list.
Popups are not stored at the service level. Popups will only be at the layer item level or web map. When you add at the service level both apps will generate a default popup that will just be a field list.
Hi @RussRoberts that's interesting to know, I always thought it would stay consistent even at a service level!
Is there a way around this?
Nope, the REST level of the service does not have any popup info and the popup info can only be preserved at the layer item level so that will work once added to the map or you can override that item configuration and set it at the web map level. Can I ask why you are adding the layer by URL when you have the item available?
Thanks @RussRoberts. It is because the layer will be available to the public, and we're thinking if someone came along and grabbed the URL to add it into their own map, the pop-ups will not be configured the way we have set them.
I would try to direct them to the item but if they go to the URL they will lose a lot of the configuration. Right now you are just getting a default field list popup which doesn't retain and alias overrides, decimal place separators, decimal places or date display configuration. If you add other popup elements like media, charts or related records during the authoring process these will be lost if the user goes to the URL and will add it to a new map.
Thanks @RussRoberts, I'm guessing the same would hold true for a map image layer?
Yup will be the same for all services. We use layer items and web maps / web scenes to drive these additional configurations.