Filters

The filters that you define for business objects in Infor Public Sector can be enabled for use in Rhythm for Civics as well.

See "Filter codes" in the Infor Public Sector Agency Personalization Administration Guide.

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.

  1. 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.
  2. 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.

  3. 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.
  4. 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.

Note: You cannot define separate filter groups for Rhythm for Civics. The same filter groups are applied in both Infor Public Sector and the portal.