Skip to main content


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

Native search capability in mobile apps

Updated on April 27, 2022

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.

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

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