Filter#
Overview#
The Filter widget enables the filtering of data. For example, it allows to filter a Query result data. In addition, it is also possible to nest another widget inside it for the cases when the data filtered is presented in that widget. An example of a Filter widget is shown below.
General Steps#
To use the Filter widget in a UI Page, follow the steps below:
- In any UI Page in Build mode, select the Filter from the widgets list located on the left side of the page; drag and drop to the desired place in the UI Page.
- Enter the Settings section of the widget through the three vertical dots.
- In the General tab, provide a name and a description for the widget. Use the toggle buttons to specify whether the widget should be visible, display the header, or allow full screen mode. Additionally, determine if the widget can be opened as an image in a new tab or exported as an image.
Widget Customization#
-
Optionally, in the Style tab, you can define a Border Width and Color.
-
In the Setup tab, select the reference type and whether to allow support of the inner widget and the advance mode.
-
In the Filters tab, configure the filters you desire based in. The list of filters that you configure will be displayed as drop-downs.
-
In the Shortcut Filters tab, define any shortcuts you desire. This list that you configure as pre-defined filters will appear as shortcuts. You should start by adding the Name of the Shortcut as exemplified below.
Then select the Set Filters button to access the Select shortcut filters wizard.
In the Search Entity Property, you can select the desired property for the filter.
Back in the Select shortcut filters wizard you can tailor how the filter works by choosing from the following options contains, starts with, like, not like, is equal to, is different than, in, not in, is null, and is not null.
-
In the Custom Filters tab, define any custom filters you require. This list of filters will only be available in advanced mode.
You may opt to set the Is Entity Type Property toggle button to true and you will be able to choose a custom Field by selecting the Browse button.
Depending on the Entity Type selected in the Setup tab, you will be presented with numerous choices for custom filters.
Once you choose and confirm your selection on the Property wizard above, the Type and the Reference Type will be automatically populated. You may choose an Operator, a Label, and indicate whether to allow Horizontal Alignment.
-
Optionally, define the Links between this widget and other elements of the UI Page.
-
Select Save and Close to complete the widget configuration.
Real Use Case#
To help you take full advantage of the Filter widget, the following scenario demonstrates how to applied a Filter to an inner Grid widget linked with a parameterized Query task.
The listed scheduled jobs in the inner Grid can be filtered by the outer filter elements for Resource or Material. The inner Grid data is fed by a Query task for the Schedule Scenario Job entity. The system Query task GetMaterialsForResourceByStateForResourceView has parameters setup for Material and Resource.
-
Add the Query task to the UI Page.
-
Add a Filter widget and an inner Grid widget to the UI Page. Drag and drop the Filter widget element to a UI Page first and then drag and drop a the Grid widget to the inner section of it as shown below.
-
Link the task to the Filter widget.
-
Setup columns as needed for the Grid widget. For more information, see Grid.
-
Configure the filter for the same entity type, in this case, Schedule Scenario Job:
-
Afterwards, it is possible to add filters, which should match the parameters as configured in the Query:
-
Link the filters to the Query task using the following setup:





















