Hello all,
I am seeing a problem with the Experience builder filter widget. I have a few hundred thousand records simply demoting the county and state in a single field, and I have a filter set up to show those records' county and state. There are a few hundred different combinations within this field. However, the filter widget only shows the first 5 options alphabetically with no settings that I could find to scroll through the potential filter options both in the SQL set up and in the widget itself.
The work around so far has been to manually type in the county you want to see data from, but even then it doesn't actually load until I hit "Search More", then it gives me the options I am looking for.
Is there any way to force the widget to search for all options right off the bat, or automatically "Search More" if the user types in a specified county? Thanks in advance!
Hi @AFackler_NAPSG,
The issue you are describing with search results in the Filter widget may originate from the feature service used to access the data. I would check the maxRecordCount and maxRecordCountFactor values in the REST endpoint for the feature service. If these are set too low, it could be limiting the ability of the widget to access enough records to give a proper set of search suggestions.
Here is some documentation about these parameters:
Query (Feature Service/Layer) - Return type and max record count
FAQ - What are the limits of the maxRecordCount and maxRecordCountFactor properties at REST?
I would suggest being cautious with any changes you make to these parameters however, as they can cause performance issues if set too high.
Associate GIS Analyst
Esri Canada
@AFackler_NAPSG Some possible reasons affecting the filter at runtime are:
- There might have been some filters added through other widgets, applying to the data source
- A filter has been set in the web map in MV
- The clause is configured to be affected by other clauses
In the builder, it will display all the records, which means that this field of your data only contains 5 records. Could you please provide your sample map & app so we can take a further look at it?