Select to view content in your preferred language

pop up window isn't consistently appearing when clicking in sidebar instant app

176
6
Jump to solution
3 weeks ago
L77
by
Frequent Contributor

I have a web app viewer app that has a copy of the BLM Township layer, where pop-ups are working consistently.

I am recreating the same app in Instant apps. The pop-up window for townships doesn't consistently open when I click in the middle of a township.

I have found that when I scroll in close and click on the outside line of a township then it will generally open the pop up window but not always.

Here is a video of clicking on the pop up window in the web app builder app to show that it is working consistently:

Here is a video of clicking on the same pop up window in the instant app:

 

0 Kudos
1 Solution

Accepted Solutions
L77
by
Frequent Contributor

@SarahMcDonald_Esri Changing the symbology from a "Vector polygon" to a "Basic Polygon" resolved the issue.

L77_1-1753724552344.png

 

View solution in original post

0 Kudos
6 Replies
SarahMcDonald_Esri
Esri Contributor

Hi @L77 

Thanks for reaching out and for sharing those videos of the behavior you are running into. Are you able to share both the Sidebar app and Web AppBuilder app? It looks like in the Sidebar app there might a visibility range set on the layers and when you are zoomed out they are not available, then when you zoom in they become available. Do you know if there are any visibility ranges set? 

Are the maps in both these apps the same? 

Thanks! 
Sarah

0 Kudos
L77
by
Frequent Contributor

@SarahMcDonald_Esri Thank you for replying so quickly!

Here is the link to the web app builder app. This is our primary web app for public works and it is public:

https://cowlitz.maps.arcgis.com/apps/webappviewer/index.html?id=8838029e308e49df9bab1bd6ab89b27a

I am still configuring the instant app so it isn't public yet, but it will replace our public web app builder app.

I don't think our administrator would let me share things I have in AGOL, he typically won't allow it.

I didn't make a copy of the web app viewer classic template to create the new web app viewer template, because I was worried that it could introduce some bugs, so I created a new map viewer template and brought in each layer one at a time. The maps aren't identical, I am putting things in groups and adding a lot more data in the new app.

The data source for the townships feature class is the same though.

In both apps I have the layer turned off by default so they have to turn it on, then click on the pop-up window. (I also have another copy in the app that is turned on by default, this is so they can see the layer for a limited scale to navigate, but once they zoom in on the map it disappears and pop-ups are turned off so it doesn't show a po-up every time they try to click on a road or parcel etc.)

I use the townships copy as a document index layer to access surveys stored on the BLM website, and in the new instant app I am working on creating a document link to access surveys stored on the USGS's map viewer website. So there are additional links in the pop-up window in the instant app. The USGS link has to be an arcade expression that is clickable in a Text field, because of how the new web app viewer restricts what is allowable in a hyperlink. So in instant apps pop-up window I am using field list and test.

Here is a screenshot of my web app viewer classic township layer:

L77_0-1753720084077.png

The visibility range:

L77_1-1753720132462.png

 

In the new map viewer, visibility range:

L77_2-1753720366388.png

New map viewer pop-up window: (one field list and one text arcade script, (I'm still working on the script)

L77_3-1753720435866.png

Currently this is the arcade script for the text field but I'm still tweaking it.

L77_4-1753720527097.png

Let me know if any of this is helpful?

I am wondering if the new map viewer is having issues, and maybe it isn't instant apps but it is the new map viewer. Here is a video of the same behavior in the new map viewer:

 

 

 

0 Kudos
SarahMcDonald_Esri
Esri Contributor

Hi @L77 

Thanks for sending over that information, it is very helpful. 

I created a sidebar app with the web map that you have in the Web AppBuilder app, I was able to open the pop-up for the townships layer once I enabled it in the layer list. 

2025-07-28_09-59-02 (1).gif

I wonder if there is something that is going on with the layer in the new map, especially if you are seeing the issue in Map Viewer. My suggestion would be to simplify the map to see where the issue is introduced. Just for testing - I would start with pulling the layer out of the group layer and seeing if the pop-up starts to open then. 

Hopefully this helps! 

Thanks! 
Sarah

0 Kudos
L77
by
Frequent Contributor

@SarahMcDonald_Esri Thank you, I will do some more testing!

0 Kudos
L77
by
Frequent Contributor

@SarahMcDonald_Esri Even when I create a new map viewer template and only bring in the townships copy it is showing the same behavior.

 

I have tested in google chrome and firefox too.

I clicked inspect in google chrome and saw these errors, but don't know if it could be related to any of them:

L77_0-1753723829127.png

 

0 Kudos
L77
by
Frequent Contributor

@SarahMcDonald_Esri Changing the symbology from a "Vector polygon" to a "Basic Polygon" resolved the issue.

L77_1-1753724552344.png

 

0 Kudos