Select to view content in your preferred language

Experience Builder List Widget functionality. Show no records when no filter is applied.

212
4
03-26-2025 04:12 PM
Labels (1)
SallyBickel
Emerging Contributor

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.       

0 Kudos
4 Replies
ZhenZhang22
Esri Contributor

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.

ZhenZhang22_1-1743152477982.png

 

SallyBickel
Emerging Contributor

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. 

0 Kudos
ZhenZhang22
Esri Contributor

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.

ZhenZhang22_0-1743495074605.png

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!

0 Kudos
TimWestern
MVP

In addition to  ZhenZhang22 suggestions

I believe you can modify the list by click selected (rather than default) and then

TimWestern_0-1745605575685.png


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

TimWestern_1-1745605612288.png




 
Updating Media



Let us know if adding these settings/actions helps also.

0 Kudos