Filters
For more information about filter codes, see "Agency Personalization" in the Infor Public Sector User and Administration Library on docs.infor.com.
In Infor Public Sector, filters are defined in the Filter Code Setup page. Their purpose is to limit the values that are available for certain fields in the user interface. The database can include large numbers of different codes, so you can use filters to keep the options that the user must select from to a manageable number. For example, you might want to limit the available work type or occupancy type codes for a building permit application based on the application type.
Filters in Infor Public Sector are defined for business objects, but the fields in the widgets in Rhythm for Civics are mapped to data models, not to the business objects directly. Therefore some additional configuration is required to enable a filter for the portal.
- Specify the widget, or portlet, that the filter applies to. For example, the Add Instrument portlet is used to submit building applications, so filters for building applications must specify this portlet.
- Specify a data model that is associated with the selected portlet.
The data models that the portal uses communicate with the business objects via the Rest Services. Data models correspond approximately to business objects, but there is not necessarily an exact match. For example, the
Instrument
data model is used for service requests and for all CDR applications, which are separate business objects. Therefore a data model must be specified to apply a filter in the portal. - Specify the condition for the filter. The condition for a filter in Rhythm for Civics is a property of the selected data model. This must match the condition property of the business object for which the filter is defined.
- Specify the target of the filter. The target is the field in the selected portlet whose
values are to be filtered. This must match the target property of the business object for
which the filter is defined.Note: The target of a filter in Infor Public Sector is a business object property, but the target of the filter in Rhythm for Civics is a page control. Therefore you must select a control that is bound to the target property.
After you have specified the portlet, the model, the condition, and the target, Rhythm for Civics can use the same filter groups that are defined for the selected filter code.