Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.58 KB

File metadata and controls

74 lines (48 loc) · 1.58 KB

The Smart Filter Bar Object

The analytical configuration can optionally contain a smart filter bar object, which defines the configuration of the smart filter bar used in an APF-based application. The smart filter bar can be used as an alternative for facet filters and provides global filters that are applied to all analysis steps of an analysis path. A configuration can have either facet filters or a smart filter bar, not both.

The annotation file of the service root defines which properties and parameters are displayed in the smart filter bar. Therefore, the manifest.json file of the component must contain the data source definition of the service root as well as the data source definition of the corresponding annotation file.

The smart filter bar object has the following format:

{
    "type" : "smartFilterBar",
    "id" : "SmartFilterBar ID",
    "service" : "<service root>",
    "entitySet" : "<entity set name>",
}

The properties used in the step object denote the following:

Property

Description

id

Unique ID of type string

service

Path to OData service root

entitySet

Entity set that corresponds to the data source, for example, the SAP HANA view. The entity set provides the properties and parameters that can be displayed in the smart filter bar.