The core component to set filters is M5580. It contains the Filters overview under General views and the Filter details page with two forms:
- Data management (hidden form; contains “GUID” field; the GUID plugin generates the GUID in the BeforeInsertFilters process; no plugin configuration is needed);
- Filter:
- Title;
- Sequence;
- Active;
- Filter type (Field or Dropdown);
- For the Filter type = dropdown > Filter selection type (Empty, Single select, Multi select);
- For the Filter type = dropdown > Filter search type (Empty, Contains, Starts with) ;
- For the Filter type = dropdown and the Filter selection type = Multi select > checkbox “Enable ‘(de)select all’ functionality”;
- Context type;
- Internal name;
- Data type;
- For the Filter type = dropdown > Value expression;
- For the Filter type = dropdown > Filter expression;
- For the Filter type = dropdown > Sort expression;
- Default value expression;
- Remarks.
N_Filter concept is produced with its properties: N_Context datatype (fx), N_Datatype (fx), N_Internal name (fx).
On the Settings details page under the tabbed panel “Management settings” the form “Filter panel behavior” is added, here one can define:
- Expand behavior > expand filter panel in edit or in view mode;
- Apply behavior > collapse filter panel after apply/cancel or keep it expanded.
N_Settings concept > from M5580 are produced N_FilterPanel_onApplyBehaviour, N_FilterPanel_onExpandBehaviour.