Native search capability in custom mobile apps

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