How to change the item icons in the search results on portal where AI Search is enabled


Description

How to change the icon that comes next to search result on Portal Search where AI Search is enabled.

Instructions

The typeahead icons are called Typeahead glyphs and they are configured in the View Templates in the sys_ux_composite_data_template table for AI search.


In this template, the "key" property in the following section of the template is what that controls the icon:
"icon": {
"translatable": false,
"key": "document-outline"
}

Replace key value with the desired icon name is from the available icons list.

 

Please find below screenshots for example.

Before change in key value for Knowledge Search Template

 

After changing key value

 

 

 

Additional Information

The available icons are defined here: https://developer.servicenow.com/dev.do#!/reference/now-experience/paris/now-components/now-icon/gallery