-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 73.5
-
Fix Version/s: 73.8
-
Component/s: Layouts & Widgets
-
Tags:
-
Backlog priority:900
-
Sprint:NOS 10.1.4, NOS 10.1.5
-
Story Points:1
Currently an aggregate widget is defined with a contribution similar to
<widget name="customdocument_stringA_agg" type="selectManyCheckboxAggregate"> <labels> <label mode="any">Terms</label> </labels> <translated>false</translated> <fields> <field>mySearchCV_cv:customdocument_stringA_agg</field> </fields> <widgetModes> <mode value="edit">{elExpression}</mode> </widgetModes> <properties widgetMode="edit"> <property name="selectOptions">#{contentView.pageProvider.aggregates['customdocument_stringA_agg'].extendedBuckets}</property> </properties> <controls mode="any"> <control name="supportInsideInputWidgetEffects">true</control> </controls> </widget>
- the selectOptions property in defined only in edit mode
- only the edit mode can be configured via the "Advanced mode configuration" field
In both case, it would be nice to use the any mode instead of the edit mode to be able to apply this configuration to all modes
<widgetModes> <mode value="any">edit</mode> </widgetModes> <properties widgetMode="any"> <property name="selectOptions">#{contentView.pageProvider.aggregates['customdocument_stringA_agg'].extendedBuckets}</property>
The label property already uses the any mode.
Maybe it could be extended to all widget types.
- is related to
-
NXP-22016 TERMS aggregates are neither displayed nor editable in saved searches
- Resolved