Sort Option form
Summarize
Summary of Sort Option form
The Sort Option form in the ServiceNow AI Platform allows users to define and manage search result sorting options within AI Search application configurations. This is essential for customizing how search results are displayed based on user preferences or requirements.
Show less
Key Features
- Label: Displays the name of the sort option in the search application's sort menu.
- Sort Field: Specifies the source table field or common index field used for sorting. It can be a date, number, or string field. Ensure the field type is supported to avoid errors upon saving.
- Qualified Sort Field: Allows sorting based on a specific indexed source table's field (e.g., kbknowledge.author).
- Unqualified Common Index Field: Sorts using a common AI Search index field (e.g., title).
- Sorting on Parent and Child Tables: Supports sorting by fields in both parent and child tables within indexed sources, provided the correct qualifiers are used.
- Application Scope: Automatically assigned to the sort option.
- Ascending/Descending Order: Options to display results in either ascending (a-z) or descending (z-a) order.
- Active Option: Enables the sort option for use in the search application.
Key Outcomes
By effectively utilizing the Sort Option form, ServiceNow customers can enhance search functionality, allowing for more relevant and user-friendly search results tailored to specific needs. Proper configuration ensures a seamless experience and minimizes errors during the setup process.
The Sort Option form contains information about search result sort options defined in your AI Search application configurations. Use this form when creating or modifying a search result sort option for a search application configuration.
For details on creating or editing search result sort options, see Search result sort options in AI Search application configurations.
| Field | Description |
|---|---|
| Label | Label displayed for the search result sort option in the search application's sort menu. |
| Sort Field | Name of a source table field or common index field that the sort option uses to sort search results. The sort field can be a date, number, or string field.
Note: If you specify a sort field of an unsupported type, an error message appears when you attempt to save the sort option. Supports the following formats:
The [indexed_source_table_name] qualifier must be the name of a table specified in an indexed source. Don't specify indexed source child table names for this qualifier. Special cases include:
|
| Application | Application scope for the search result sort option. This field is automatically set. |
| Ascending | Option to make the search result sort option display results in ascending order (a to z). Clear this option to make the search result sort option display results in descending order (z to a). |
| Active | Option to activate the search result sort option for use in the search application. |