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.
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.
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.
- Native search capability in mobile apps
Mobile apps that you develop in Pega Platform do not provide search by default. Since search is critical and provides the user with a quick and a customized way to look for content within the app, you must add the native search capability to the app separately. This improves the overall user experience of the mobile app by providing the needed speed and responsiveness.
- Configuring search in mobile apps
Enhance the overall user experience by configuring the search in a mobile app. For example, modify the search parameters and define the scope of the search in your app.
- Configuring categories for mobile search
Provide mobile app users with more comprehensive search results by limiting the scope of the search to the categories that you define. For example, you can add a search category that displays the name and email of a person that matches the search parameters.