Select to view content in your preferred language

Pop-ups configured in ArcGIS Pro change when the feature service is added into a new Map Viewer?

3899
10
Jump to solution
07-09-2023 06:42 PM
Hayley
by
Frequent Contributor

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?

HL
1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor

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.

View solution in original post

10 Replies
RussRoberts
Esri Notable Contributor

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.

Hayley
by
Frequent Contributor

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?

HL
0 Kudos
RussRoberts
Esri Notable Contributor

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? 

0 Kudos
Hayley
by
Frequent Contributor

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.

HL
0 Kudos
RussRoberts
Esri Notable Contributor

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. 

Hayley
by
Frequent Contributor

Thanks @RussRoberts, I'm guessing the same would hold true for a map image layer?

HL
0 Kudos
RussRoberts
Esri Notable Contributor

Yup will be the same for all services. We use layer items and web maps / web scenes to drive these additional configurations.

KaseyCox
Occasional Contributor

so, there is no way to apply my Pro pop-up settings to the service that is published?  

I have several services that are updated twice a week by Overwrite.  If I am understanding this thread, I will have to manually go into each map that the services are used in and manually reset the popups on each layer???   

0 Kudos
RussRoberts
Esri Notable Contributor

Popups are stored at the layer item or web map level and not the service so no popups configuration will exist at the service level. If you are publishing a layer item to Online or Portal that will have the popup configuration that existed in Pro and if you add that layer item into a map the popup will come through there.

If you are overwriting a service to a standalone server the web maps or layer items you have will remain unchanged. If you are overwriting to a hosted layer item then depending on what popup was configured in Pro will end up in the overwritten hosted layer.

In this case if there is a web map with its own popup configuration that will still remain and work as expected because first apps will read the web map JSON and if there isn't a property for like popups or labels that exist in the map it will use what is in the layer item and then if nothing is in the layer item it would fallback to the service. In Map Viewer you have the ability to disconnect the map from the layer item so it does not fall back to the layer item. 

 

RussRoberts_0-1756938971922.png