I'm looking for help with a mystifying bug: I have an Experience Builder app with 3 pages, which all have the same basic structure:
All three pages use the same Web Map for their Map widget, and the widget settings are identical:
However, I'm seeing strange behavior in the Map widget on Page 1 (the same behavior is not happening in the Map widgets on pages 2 or 3):
Basically, popups don't show except for the first one. De-selecting a feature and then selecting a new feature resets it.
The behavior happens most consistently when I focus on the features from a specific point-based layer. The Map widget on Page 1 also seems to take much longer and be less accurate than the maps on pages 2 and 3 when selecting features from that layer.
Any ideas?
Solved! Go to Solution.
This was a journey... When an Edit widget was in "Geometry and attribute" mode, it blocked popups from appearing for the connected layer I was trying to edit in the connected Map widget. When I switched to "Attribute only" mode, it stopped blocking popups.
That was a little problematic, since this app needs to let users add new points to the layer. My solution was to reorganize the app so the functionality of the three Pages was instead handled by a set of Views on Page 1. Then, I set up Page 2 with a Map widget and an Edit widget in "Geometry and attribute" mode so users can add new points to the map without interfering with popup behavior on Page 1.
It would be great if the "Geometry and attribute" mode Edit widget didn't block popups (unless you're actively creating new features).
---
Update: I realized that my issue is related to the one described here: https://community.esri.com/t5/arcgis-experience-builder-questions/how-do-i-deactivate-the-edit-featu...
Putting the Edit widget inside a Widget Controller isn't ideal for my UI, but it does solve the problem of popups not showing up because "edit mode" is active.
I found out what's causing the problem, but I'm not sure why or how to fix it (or if it's actually the expected behavior). Here's what I found:
So, does that mean that when an Edit widget is active and connected to a layer from a Map widget on the same page, popups will stop showing for that layer? I can sort of see why that might have been implemented, since the Edit widget and the popup show similar information. In my case, though, the Edit form has been customized, and so has the popup, so they show different information and should both be visible at the same time.
Is there any way to configure around this issue?
This was a journey... When an Edit widget was in "Geometry and attribute" mode, it blocked popups from appearing for the connected layer I was trying to edit in the connected Map widget. When I switched to "Attribute only" mode, it stopped blocking popups.
That was a little problematic, since this app needs to let users add new points to the layer. My solution was to reorganize the app so the functionality of the three Pages was instead handled by a set of Views on Page 1. Then, I set up Page 2 with a Map widget and an Edit widget in "Geometry and attribute" mode so users can add new points to the map without interfering with popup behavior on Page 1.
It would be great if the "Geometry and attribute" mode Edit widget didn't block popups (unless you're actively creating new features).
---
Update: I realized that my issue is related to the one described here: https://community.esri.com/t5/arcgis-experience-builder-questions/how-do-i-deactivate-the-edit-featu...
Putting the Edit widget inside a Widget Controller isn't ideal for my UI, but it does solve the problem of popups not showing up because "edit mode" is active.