I am using a Near Me widget to search crimes at location drawn on the map.
I also have a filter setup to filter the crimes.
If I perform a location search using the Near Me widget and then change the filter values, the Near Me widget does not automatically filter its results to reflect the filter change. If I manually refresh the Near Me widget results, they get filtered accordingly. But I need them to filter automatically.
This only happens if the Near Me widget Results are configured to "Filter Layers to only show results". If that check box is not checked, then it works as expected.
The Filter widget has an Action configured to let the Near Me widget know that the filter has changed. The Action is configured like this:
- "Data filtering changes"
- Target data is the layer that the filter filters
- Action data is the output result layer from the Near Me widget
Not sure if this is a but or by design, or I am just missing something.
Any advice is greatly appreciated. Thank you!
Filter Widget Action configuration
The application just got posted.
So, here is the link:
https://experience.arcgis.com/experience/3220bf6896904616ac0f36446ff0bd2e
Open the app. Let the data load (the initial load takes a little longer). Perform a location search by plotting a point on the map. Then go back and filter the crimes. Go back to the location search and the results reflect the new filter value.
Right now I am allowing all the data to be shown, even after the location search is performed.
I would like only the data in the circle to be shown for a cleaner solution. But when I do that by selecting "Filter layers to only show results" on the Near Me widget the location search results do not get filtered as expected. I have to manually click the refresh button of the Near Me widget.
Hope that gives you better idea of what the issue is.