I have two feature hosted feature layers in AGOL and I want to use one layer to filter another layer in a List Widget.
Currently, I have a
- Filter widget that filters layer 1, for example Tree types. This layer has the trees and the park name they're located in. e.g.
| Tree 1 | type 1 | park 1 |
| tree 2 | type 2 | park 1 |
| tree 3 | type 2 | park 2 |
- A list widget with the second layer that is just parks and locations.
- A map widget with both layers
If I filter for a tree type in my filter, it will filter the map with Message Actions. On the map, I thought i could use actions Actions to (trigger data --> action data base on Park name) to filter the list. However, the only available message action on the Map is Record Selection Changes, so then I have to click a tree on the map in order to filter my Park list.
I would prefer that as soon as a tree type is filtered for, all parks without that tree are filtered out of the List widget. However, the Filter widget doesn't have any filter changes triggers to filter the list.
Am I missing something simple? This seems like a straight forward thing to do.