I have a List Widget that uses the Default "List View" in the data source and text that works well. Users can select a property in the Map, filter the data in the "List View", and then be able to further select items from the List. This all works well but I'd like the List to show no records if there is no filter placed/properties selected in the Map. Also would be nice to have a data action to Clear Filters once a new selection in the Map occurs as I'm seeing a filter on a filter happen.
Hi SallyBickel,
You can select the Selected features in the list's data view settings. This way, when no feature is selected on the map, the list will show no data records, and only selected features will appear. Hope this helps.
I have used that method, however I would like users to be able to choose a record in the List from the selected records. Once selected in the List, there is no way to "Re-Select", but only "Un-Select" after clicking on a record. So having that option would help as well.
By using the filter data action, I can achieve the selection on the filtered list - however all records show in the list upon launch because no filter is placed.
OR if there's another method to achieve this i'm all ears.
Hi SallyBickel,
Thank you for your further description😊~ If you want to display the filtered results in the list instead of showing all records upon launch, I would recommend creating a view with the necessary filter conditions. Then, set that view as the data source for the list. This way, the list will display only the filtered records at launch instead of all records.
In the data view settings, you can filter the data to restrict what appears in the list widget, sort the data to display list items in a particular order, or specify record limitations.
Hope this helps!
In addition to ZhenZhang22 suggestions
I believe you can modify the list by click selected (rather than default) and then
Configure this. You may need to add an action to update the selection when you do this, but I think you can select an individual item from the list this way
Let us know if adding these settings/actions helps also.