Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring search in mobile apps

Updated on April 27, 2022

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.

Before you begin: Ensure that you use UI-Kit 12 or higher to enable the configuration of the search capability in a mobile app.
  1. Open the mobile channel interface.
  2. On the Layout tab, in the Layout section, hover over the Search widget, click Configure, and then follow the instructions in the dialog box.
  3. On the Search configuration form, create an instance of the rule with pySearchConfiguration as identifier:
    • To create a new version of the rule in the application ruleset, expand the Save as menu, and then click Specialize by class or ruleset.

      For more information, see Creating a rule specialized by circumstance.

    • To create a new version of the rule in the private ruleset of an operator, click Private edit.

      For more information, see Performing a private edit.

    The rule resolution algorithm in Pega Platform prioritizes your specialized or checked-in rules over the default one.
  4. In the Online search configuration section, enter the minimum number of characters that the user must enter to initiate the search.
  5. Optional: To provide the users with more comprehensive search results, configure the search categories.
    For more information, see Configuring categories for mobile search.
  6. Click Save.
  • 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 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.

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

  • Previous topic Modifying the font settings file for imported applications
  • Next topic Native search capability in mobile apps

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us