Is there a way to set a Query so that it automatically selects all results instead of providing a list of results? For example, I have a map with a Parcel layer. I have a Parcel List widget as well that shows what parcels are selected.
Can I set up a query on the TotalAcres field, of the Parcel layer, where the user can insert a "between" range, like the Query widget normally allows. But once the user hits "Apply", instead of a results list appearing where the user must choose a single parcel, I'd like for everything in the results page to be automatically selected. Then I can use those results in the list and the user can review the list and click to unselect what they don't want in the list.
Thanks for any advice.
Solved! Go to Solution.
You can configure the same SQL expression within a Select widget instead of a Query widget and set your Parcel List to use the 'selected features view' of the same data. This will help you achieve your intended goal.
Query widget generates output data source; while it looks to me that what you've described there falls into the function of the Select widget.
Is a query widget needed because you specifically want to use the generated data source without affecting the original one?
I want to use Query so that for example, a user can search for all parcels between 50 & 100 acres:
Right now, if they click "Apply", they get this and they can only click one of these results.
Instead I'd like all of those Parcels to become selected automatically, instead of just the one that the user must click on. I don't even want to present the Results list at all, if that's possible.
Just wondering if anyone had any more thoughts on this. Feels like I'm missing something. I think I should be able to query multiple features and not be forced to select only one. Thanks.
You can configure the same SQL expression within a Select widget instead of a Query widget and set your Parcel List to use the 'selected features view' of the same data. This will help you achieve your intended goal.