Configuring filter/select in the index list
You can only configure filter/select in the index list if the data service that is connected to the component does not have search transaction. Only then, the fields for filter/select configuration are displayed.
- Click Configure or hover over the index list and click the Configure icon.
- Click the Filter/Select tab, then click the + Add. Select the fields where the user can do filtering and selection.
- Click Save.
-
Click the Interactions tab and specify
this information:
- Source component
- Select the index list
- Event
- Select Search/Filter
- Operation
- Select Read
- Click Save.
- To save the filter/select configuration in the index list, click Save.
- To ensure that the configuration for the index list is applied to the application, click the Save icon on the application.
- On the application, click the Manage Data Services icon.
- In the Data Services Configuration window, click on the edit icon on the data service that is connected to the Read operation in the index list.
-
Click the Input tab and specify this
information:
- Source
- Select the index list
- Source Field
- Select the corresponding Search/Filter field. They are displayed under the heading Input Fields when you open the source field drop down menu.
- Value
- You can specify a hard-coded value such as a number or a letter. You can also customize the input value based on which record is selected by specifying the Source and the Source field in the {componentID.SourceField} format in the Value column.
For example, you have an index list that displays items, and you want to filter to find the records you are looking for in the list. The data service connected to the index list uses MMS200MI/LstItemByItm as API transaction. You open the configuration of the index list and click on the Filter/Select tab. Then, click + Add and select item number as a filter field.Next, you click on the Interactions tab and add an interaction that uses the index list as the source component, the event Search/Filter, and the operation Read. Finally, you open the configuration of the connected data service. On the Input tab on the transaction, you select the index list as the source and the ITNO listed under Input Fields as the source field. - Click Save in the Data Service Configuration window.
- Click the Save button on the application.