"extends": { "extensions": { "sap.ui.controllerExtensions": { "sap.suite.ui.generic.template.ListReport.view.ListReport": { "controllerName": "<myNamespace>.ext.controller.CustomFilter" } }, "sap.ui.viewExtensions": { "sap.suite.ui.generic.template.ListReport.view.ListReport": { "SmartFilterBarControlConfigurationExtension|<myEntityset>": { "className": "sap.ui.core.Fragment", "fragmentName": "<myNamespace>.ext.fragment.CustomFilter", "type": "XML" },
Using onBeforeRebindTable, you evaluate the settings in the custom fields and add the corresponding filters to the bindingParamters of the table.
Using getCustomAppStateData, you read the state of all custom fields and store that state in the object provided to enable the templates to use it for navigation.
Using restoreCustomAppStateData, you get the custom app state object you provided in getCustomAppStateData and set the corresponding values to your custom controls. For example, this method is called after returning from a navigation.
onBeforeRebindTableExtension
getCustomAppStateDataExtension
restoreCustomAppStateDataExtension
onInitSmartFilterBarExtension
For an example with step-by-step instructions, see Adding Filterable Field to the Smart Filter Bar.