Select to view content in your preferred language

How to make a selected feature persist

67
4
7 hours ago
HelenCooper
Occasional Contributor III

I've created an experience that asks the user to select a feature from a list, it then zooms to that feature on a map, and brings up a dynamic textbox to display information about that feature.  

It all works fine until the user clicks away on the map, which means that the selected feature is no longer selected, and the dynamic text stops working. 

Is there a way to make the selection persist, or to prevent map clicks from deselecting a feature?

Or maybe an alternative workflow that doesn't involve selecting features at all?

https://experience.arcgis.com/experience/8b1574162d4448ecaa5d2ed53c88e8a0 

Thanks in advance for any help, 

Helen

0 Kudos
4 Replies
JeffreyThompson2
MVP Regular Contributor

Try disabling popups in the Map Widget Settings. I think this should prevent changing the selection on a map click and you already have a Feature Info Widget so having the same information in a popup is redundant and makes your display more cluttered than necessary.

JeffreyThompson2_0-1725998068094.png

GIS Developer
City of Arlington, Texas
0 Kudos
HelenCooper
Occasional Contributor III

Thanks, good suggestion but there are other layers on the map that the user can add, and ideally they would like to be able to see pop-up information about these other layers. 

0 Kudos
JeffreyThompson2
MVP Regular Contributor

Look into using Data Views. I think there could be something in that direction that would do what you want, if you set the List Widget and Dynamic Text to work off of a different Data View than the default.

https://doc.arcgis.com/en/experience-builder/latest/build-apps/select-data.htm

GIS Developer
City of Arlington, Texas
0 Kudos
HelenCooper
Occasional Contributor III

Thanks, I will give that a go.

0 Kudos