Configuring a search action in a mobile app
To use the native search capability in a mobile app, you must define a mobile search action in the user interface. You can define the mobile search action anywhere within a section. For example, you can define this action for a button. When a user clicks that button, a native search is enabled so that the user can more quickly find the relevant content.
If you defined a list of search categories in the pySearchConfiguration rule, you can select the categories from the list that you want to display to the user during a search. By default, the header for the mobile search user interface control uses the color from the application's skin, the mobile header background value.
Note: The mobile search action is only supported in mobile apps.
- Edit a section.
- Click the View properties icon to open the Cell Properties panel for a user interface control, for example, a button.
- Click the Actions tab.
- Click Create an action set.
- Click Add an action.
- Click All actions and then click Mobile search.
- Optional: Select the Display only selected categories check box and in the list of available categories, select the categories to display in the mobile search user interface control.
- Click Submit.