Dear AGOL community
I have three datasets
I want to create an ArcGIS Experience Builder app containing a map of Australian States and a list of species names. When a user clicks on a State, I want to filter my list to display only those species names that occur in that state. Something similar to this:
My first problem is I can’t figure out how to spatially filter the species distribution polygons when I click a state.
Once I solve that problem, I guess I use a List Widget to display my species list and use an Action trigger to filter?
Any suggestions greatly appreciated.
Regards, Damian
Here is a method to use a Near Me Widget to find points in a polygon. To make it work with intersecting polygons, I think the state polygon may need to be highest in the drawing order and you may need to disable popups for the species polygons.
As you describe, once you have the species polygons in Near Me, you can output them to a List and use Actions to filter the Table when selected in the List.
Thank you for your response @JeffreyThompson2. Thats a very handy suggestion, and managed to get me halfway there. I can indeed output the results of the Near Me widget to a List, however using that method, my list is empty to start with. I need my users to see a full species list when nothing is selected, and filter my List when a state is selected. Have tried every conceivable combination of Actions on both my Map and my Near Me widgets to no avail.
Any further suggestions greatly appreciated.
Regards, Damian
I don't have a good solution for this problem. ArcGIS Online was just updated yesterday and Near Me was upgraded with better support for polygon layers, so maybe that will help or you can give your output directly in Near Me. Another option might be to put your output list in a Widget Controller or Sidebar and use the Record Selection Changes Action to pop it out when its populated.
https://community.esri.com/t5/experience-builder-tips-and-tricks/has-arcgis-online-caught-up-to-deve...
To further expand on the idea I mentioned last week, you could use two Lists and a Sidebar to simulate a single List updating after a search.