A default filter controls which records are displayed when a screen first opens. Default filters help ensure screens show the most relevant data without requiring users to filter manually - for example, showing only records from the current day or the previous seven days.
Default filters are configured through the object editor used by the screen.
Configure a Default Filter
Default filters are defined in the Attribute Rendering settings of the object editor.
Open the Configuration application and navigate to Layouts \> Object Editors.
Select the object editor used by the screen.
In the Attribute Rendering section, click Detail, then Edit.
Locate the attribute you want to filter.
In the Default Filter field, select the filter to apply.
Enter an Audit Comment and click Save and Refresh.
If the Default Filter field is not visible, click Detail to display the full set of attribute configuration options.
Available Default Filters
Filter | Description |
Current Application | Inserts the name of the currently selected application into the attribute filter. |
Effective Now | Shows the most recent reported value for the attribute. |
Effective Today | Shows the most recent value before the start of the current day. |
Effective Yesterday | Shows the most recent value before the start of the previous day. |
Last 7 Days | Shows data from the previous seven days onwards. |
Last 31 Days | Shows data from the previous 31 days. |
Last 365 Days | Shows data from the previous year. |
Last Month | Shows data from the previous calendar month. |
Last Year | Shows data from the previous calendar year. |
Now | Shows values for the current time only. |
This Month | Shows data from the current calendar month. |
This Year | Shows data from the current calendar year. |
Next Month | Shows data for the next calendar month. |
Next Year | Shows data for the next calendar year. |
Today | Shows data from the current day. |
Tomorrow | Shows data for the next day. |
Yesterday | Shows data from the previous day. |
True | Filters records where the attribute value is True. |
False | Filters records where the attribute value is False. |
Most of these filters apply to Date, DateTime, or Timestamp attributes. The True and False filters should only be used with Boolean attributes.
Notes
Default filters may not work correctly if duplicate ES_ORDER values exist in the object's attribute specification.
Default filters for date-based attributes use predefined logic and cannot be extended. Additional filters for String and Reference attributes can be created using contains-based filters.
