I have a map that contains a layer with all the power plants(points). There is also another layer that contains area (polygons).
There are also two widgets, both of them lists. First list is showing all of the power plants, and the other one is showing the area. What I would want to do is to click one area on the map (or on the list widget), which would then select and/or filter all of the power plants on the power plant list widget, that are contained within that chosen area. Is there a way to do this?
We also have already tried this How To: Filter Records in a List Widget Based on Selected Records of Another List Widget i (esri.com) but this is not applicable in current use case. The problem is that the points data table does not contain information regarding which area the power plants belong to. A point may belong to multiple areas simultaneously as well, not just one. And the drawn areas will change from time time, not stay the same.
I know that it is possible to draw an area on the map (using the Select-tool), that would then select the points on the list widget, but that is not what is desired. I couldn't find a clear solution but tried to find my way around this using the Spatial filter-widget, but with no luck yet.