How to limit List Widget items when there is no filter applied.

348
1
11-02-2023 06:28 AM
FranklinAlexander
Occasional Contributor III

I have a List Widget that is using a table as it's source data, but the table has 1286 records. Since there is no filter applied when the application loads, the List Widget shows all 1286 records, most of which are repetitive since there are only 33 unique values in my selected field. I would like to either show a pre-filter subset of the data, or just a message ("Please select a county to see fish species"). I did try the 'View for empty selection' option for the source table, but it isn't working. I clicked the gear icon and filtered the data by county as in the image, but the List still wants to fill with all of the records instead of the filtered records (18 in total). The app has been created using Experience Builder Developer v1.12 and you can find a downloaded version here: https://gis.myfwc.com/InDevelopment/Alexander/FishRangeFinder/FishRangeFinder_dev6/

EmptySelectionView.png

 

 

 

0 Kudos
1 Reply
JeffreyThompson2
MVP Regular Contributor

You should be able to do something like this.

https://community.esri.com/t5/experience-builder-tips-and-tricks/create-a-filter-that-hides-everythi...

The empty data view only kicks in when you set up a filter that removes all of the items in your data set.

GIS Developer
City of Arlington, Texas
0 Kudos