Predefined filters
Description¶
To optimise the design of the form structure, the definition of sets of row/column filters and the property settings of the filters that they contain can be saved in a single predefined filter. The predefined filter is then shown in the matrix dimensions tree together with the dimensions (in the Filters folder) and can be used like a normal filter. Predefined filters can be modified or removed at any time. For example, this functionality is useful in the case of several forms with the same or similar structures; saving a set of filters as a single filter allows you to quickly replicate the structure for all forms, avoiding the need to design a new one for each of them.
The predefined filters functionality is only available to users for whom function "0002914 - Reporting .Net - Param - Predefined filters" is enabled in their role.
Predefined filters can be used as a parameters (see Parameters).
Static or dynamic use of predefined filters¶
Predefined filters can be used statically or dynamically.
| Use | Description |
|---|---|
| Static | The filter is defined on the matrix in the row/column filters definition phase. |
| Dynamic | The filter is used as a form run parameter, so it is defined dynamically when the form is opened (see Parameters). All changes made to dynamic filters are automatically propagated to all forms in which the filter is used. |
Particular cases in the use of predefined filters¶
The following particular cases may be encountered when using predefined filters:
- Several predefined filters can be inserted dynamically (when the form is run, the system checks that the various predefined filters on which the deployment is performed contain the same dimensions in the same order).
- Placeholders can be inserted between predefined filters.
- It is possible to add elements of other dimensions below predefined filters inserted dynamically (when the form is run, the system checks that the added dimensions do not include any of the dimensions already present in the predefined filter).
- Predefined filters can be inserted statically or dynamically below pre-existing elements of other dimensions (when the form is run, the system checks that the filter dimensions do not include any of the dimensions already present in the filters tree).