Show TOC

Configuring FiltersLocate this document in the navigation structure

APF-based applications can use filters that narrow down the data of an entire analysis path. You can either configure each filter individually or you can use a smart filter bar:

  • Individually configured filters

    You can configure separate filters that are rendered using the FacetFilter control. This option is useful if you use more than one OData service to configure your filters.

  • Smart filter bar

    You can configure an entire filter bar in just one step using the SmartFilterBar control. This option is useful if you use an entity type that provides all of the properties that you want to offer as filters. The SmartFilterBar control uses the OData metadata of the entity type to create the filter bar. The possible filter criteria by which you can filter are automatically derived based on the annotations of the used service.

    The advanced options of the smart filter bar include the following:

    • Rule-based filtering using operators such as “contains”, “between”, or “greater than”

    • Use of the DatePicker control

    • Paging for value lists, which can avoid performance issues in the case of very large lists.

For each configuration, you define whether you want to use individually configured filters, or the smart filter bar, or no filters at all. Once you have chosen one of the filter types, the tree structure of your configuration is adapted accordingly.

Note

When you switch between the two filter types or from one of the filter types to no filter, you lose the current settings. When you switch the filter type and then want to switch back again, you have to define your settings once more.