Populate a full list of unique attribute values for a field (e.g. Query, Filter, etc)
When using the out of the box query or filter tools, a list of unique attribute values appears, but the list only seems to contain approx 10 values and these are not necessarily the first 10 unique values. We have a need to have this list be a full list of unique values for a given attribute.
Is it possibly to configure this functionality? or in a future version make this the default? End users of the application are not going to know what the full list of unique values are, so it would be good to have this full list of unique values be a default functionality for the Query, Filter tools, and/or for any need of a unique values within a workflow that accesses an attribute field.
Using GE 4.7, GVH 2.8 (this same issue was noticed in previous versions of GE and GVH)
thanks
0
-
Hi Nathan -
You cannot current configure the list of values to a setting that displays the unique values for each attribute. However, you can achieve the same functionality indirectly by setting the proper configuration field to a sufficiently high value.
The configuration files include two keys called "numberOfSuggestions". Both keys are included in the QueryBuilder module. One is in the "SimpleQueryBuilderView" object, and the other is in the "SimplyFilterBuilderView" object.
Here is a sample configuration for the SimpleQueryBuilderView (in the Deskop.json.js file):
As you discussed in your post, the default value for "numberOfSuggestions" is 10. If you make this value sufficiently large, all values for each attribute will be displayed.
Regards,
Steve0 -
Thank you. Worked for my needs! 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare