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.
If you do not define any categories, the system searches all content in the
Work- and Data- instances.
- In Dev Studio, search for and open the pySearchConfiguration rule.
- On the Editor tab, in the Search categories section, click Add category.
- Optional: To add a specific icon for the category, perform the following steps:
- In the new category row, click Select icon, and then click the Show image viewer icon.
- In the Image catalog window, enter an image name, and then click Find.
- Select an image that you want to use for the search category, click OK, and then click Submit.
- Optional: To set a new default icon for search categories, perform the following steps:
- In the Advanced section, click the Show image viewer icon.
- In the Image catalog window, enter an image name, and then click Find.
- Select the image that you want to use as default for new search categories, click OK, and then click Submit.
- In the new category row, define the parameters of the search category:
- In the Source data page column field, enter the name of the
data page that you want to use as the source.
- In the Category display name column field, enter the display name for the category.
- In the Title source property column field, enter a property that displays the title of the search result.
- In the Description source property column field, enter a property that displays the description of the search result.
- In the Source data page column field, enter the name of the
data page that you want to use as the source.
- Optional: To define an action that occurs when users click a search category item, perform the
following steps:
- Click Configure action.
- Click , and then select an action that you want to use.
- Specify additional settings for the action that you selected.For more information, see Available actions and conditions.
- Click Submit.
- Optional: To add more categories to the list, repeat steps 2 through 6.
- Click Save.
Previous topic Native search capability in mobile apps Next topic Configuring a search action in a mobile app