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