Define an AI Search Results Action
Configure which portal page opens when a result is selected from the list of search results.
시작하기 전에
Role required: sp_admin or admin
이 태스크 정보
주:
If the action is being
implemented as a server script, the script is executed by the search widget.
Notification messages defined in the server script are displayed.
프로시저
- Navigate to All > Service Portal > AI Search > Search Results Action and select New.
-
On the form, fill in the fields.
Field Description Short description A unique description of the search results action. Service Portal(s) Portals in which the search results action appears. If left blank, the search results action appears in all active portals. AI Search Source Content that portal users can search on, including tables in your instance or external data sources. For more information, see Defining search sources. Action name Name of the action assignment. Only navigation actions are supported for selecting a search result in portals. Application Application scope of the search results action. Active Option to activate the search results action. Order Priority that the search results action takes over other actions with the same configuration. To give higher priority to an action, enter a lower number.
If two actions have the same order, then the oldest action takes priority.
Portal page Page on that opens when a result from the search source is selected from the list of search results. Payload query parameters Query parameters to apply to the URL.- In the first drop-down, select the payload
fields that correspond to the selected
Action name.주:You can find the payload fields by opening the record referenced in the Action name field. Then, in the Action Assignment record, open the record referenced in the Specify client action field. The Payload field in the Action Payload Definition record specifies the fields used.
- In the next field, enter the query parameter to use in the URL.
Additional query parameters Custom query parameters to use in addition to the payload query parameters. For example, to add view=spas a query parameter, you would enter view and sp in the Name and Value fields, respectively. - In the first drop-down, select the payload
fields that correspond to the selected
Action name.
- Select Submit.