Close popover

Table of Contents

Configuring a search action in a mobile app

Version:

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.

The mobile search action is only supported in mobile apps.
  1. Edit a section.

  2. Click the View properties icon to open the Cell Properties panel for a user interface control, for example, a button.

  3. Click the Actions tab.

  4. Click Create an action set.

  5. Click Add an action.

  6. Click All actions and then click Mobile search.

  7. 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.

  8. Click Submit.

  • 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.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.