Select to view content in your preferred language

using the same pop-up config on several layers

1453
4
09-29-2020 12:16 AM
MattiasEkström
Regular Contributor

If I have several layers in a map that I want to have the exact same pop-up config, is there a way to accomplish this easier that setting them all manual one by one?

For example importing a pop-up config like you can import symbology? Or setting the pop-up config on several layers at once?

0 Kudos
4 Replies
JayJohnsonWashoeCounty
Regular Contributor

The only way I can see to do this would be to add the first layer to your map and configure the popup as desired.  Then COPY that layer - now you have two layers with the same popup configuration, but both pointing to the same data layer.  Next use the Attribute Assistant ArcGIS Online Assistant  to Update the URL of the second layer to point to a different data source.

Using the same popup configuration for different layers assumes that those layers have the same fields.

Jay

Jay
Washoe County GIS
MattiasEkström
Regular Contributor

Thanks for the tip Jay, not exactly what I was hoping for but a workaround that will be useful in some cases. When I have several layers with the same fields, changing the data source will be quicker than setting up the pop-up configuration.

0 Kudos
SveinungBertnesRåheim
Occasional Contributor

This is especially useful if you have added a lot of data expression and arcade-skripts to a layer and / or have a complex symbol setup.

To reuse this, often time consuming setup, I see only two ways:

1. ArcGIS Assistant. Feels a bit risky to work directly in JSON, but it works.

2. Copy-paste: Open two window - copy each data expession from one layer to the other. 

Would be greate if it was possible to save it via a "LYRX"-file type. In some way.

0 Kudos
mmetzcar
New Contributor II

Here's something unexpected that I just noticed. When I use Import Symbology, it is also importing my "Configure Pop-ups" settings. I was surprised that my pop-ups kept getting messed up, and this is why.

0 Kudos