Skip to main content

Table of Contents

Native search capability in mobile apps


Only available versions of this content are shown in the dropdown

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.

Using the mobile search capability in an application requires UI Kit 12 or higher.

The configuration settings for the mobile search capability are saved in the pySearchConfiguration rule. You can specify the minimum number of characters that a user has to enter to obtain search results from the server.

You can also specify categories as a local data source for the search operation. For each category, you can define the icon, display name, and title and description to display on a mobile app during searching. For each category, you can specify the action to trigger when a user clicks a search category item. If you did not define any category icons, you can specify a default icon to use for all the search categories.

To disable mobile search when the mobile app is in offline mode, set the pyIsLocalStorageForMobileSearchEnabled when rule to false. This means that mobile search in only available when you are in online mode.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us