List of Search Result EVAM card properties
You can customize the appearance of standard search results in your AI Search application by changing these properties in the application's Search Result EVAM (Entity View Action Mapping) cards.
To learn about configuring properties for Search Result EVAM cards, see Configure EVAM display settings for search results in AI Search applications.
component property value sn-search-result-evam-card. Don't set these properties for EVAM cards with any other component value.| Property | Description |
|---|---|
| avatarURL |
Defines the URL for the image you want to show on the Search Result card when imageType is set to avatar.
Note:
To specify literal text for this property, include the property in the staticValues object and specify the text as its key
value. To populate this property with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields. |
| detailLabelOne, detailLabelTwo, detailLabelThree, detailLabelFour, detailLabelFive, detailLabelSix, detailLabelSeven, detailLabelEight, detailLabelNine, and detailLabelTen |
Defines label content for the Search Result card's detail label-value pairs. You can show up to 10 label-value pairs on the Search Result card.
Note:
To specify literal text for one of these properties, include the property in the staticValues object and specify the text as its
key value. To populate one of these properties with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields.To define value content for these label-value pairs, see detailValueOne through detailValueTen. detailValueOne sets the value for detailLabelOne, detailValueTwo sets the value for detailLabelTwo, and so on up through detailValueTen and detailLabelTen For additional configuration of how a search result's details are shown on the Search Results card, see detailLabelType, detailLabelSeparator, and detailPosition. |
| detailLabelSeparator |
Defines the character used to separate inline label-value pairs. Only applies when detailLabelType is set to inline.
Note:
To specify literal text for this property, include the property in the staticValues object and specify the text as its key
value. To populate this property with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields. |
| detailLabelType |
Defines how to render label-value pairs on the Search Result card.
|
| detailPosition |
Defines where search result detail label-value pairs are shown relative to the Search Result card's summary field.
|
| detailValueOne, detailValueTwo, detailValueThree, detailValueFour, detailValueFive, detailValueSix, detailValueSeven, detailValueEight, detailValueNine, and detailValueTen |
Defines value content for the Search Result card's detail label-value pairs. You can show up to 10 label-value pairs on the Search Result card.
Note:
To specify literal text for one of these properties, include the property in the staticValues object and specify the text as its
key value. To populate one of these properties with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields.To define label content for these label-value pairs, see detailLabelOne through detailLabelTen. detailLabelOne sets the label for detailValueOne, detailLabelTwo sets the label for detailValueTwo, and so on up through detailLabelTen and detailValueTen For additional configuration of how a search result's details are shown on the Search Results card, see detailLabelType, detailLabelSeparator, and detailPosition. |
| hideIcon |
Defines whether you want to show or hide the icon on the Search Result card.
|
| icon |
Defines the icon you want to show on the Search Result card when imageType is set to icon. This icon is also shown as a fallback when imageType is set to image but no imageURL value is provided.
Note:
To specify literal text for this property, include the property in the staticValues object and specify the text as its key
value. To populate this property with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields.For the set of available icon names, see the Icon Gallery in the Next Experience reference section on the ServiceNow® Developer Site. |
| iconSize |
Defines the size of the icon or avatar image shown on the Search Result card.
|
| imageType |
Defines the type of marker you want to show on the Search Result card. Supported values:
|
| imageURL |
Defines the URL for the image you want to show on the Search Result card when imageType is set to image.
Note:
To specify literal text for this property, include the property in the staticValues object and specify the text as its key
value. To populate this property with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields. |
| summary |
Defines the content of the Search Result card's summary field.
Note:
To specify literal text for this property, include the property in the staticValues object and specify the text as its key
value. To populate this property with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields. |
| summaryFontSize |
Defines the font size for the Search Result card's summary field.
|
| textHeaderLabelOne, textHeaderLabelTwo, and textHeaderLabelThree |
Defines the content of the Search Result card's text header labels. If you specify multiple text header labels, they appear separated by a pipe | character.
Note:
To specify literal text for one of these properties, include the property in the staticValues object and specify the text as its
key value. To populate one of these properties with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields. |
| titleFontSize |
Defines the font size for the Search Result card's title field.
|
| titleLabel |
Defines the content of the Search Result card's title field.
Note:
To specify literal text for this property, include the property in the staticValues object and specify the text as its key
value. To populate this property with the current search result's value from an AI Search indexed field, include the property in the mappings object with the field name as its value. For a list of AI Search indexed field names, see AI Search index fields. |