Change AI Search Genius Result Icon

Neil Taylor1
Tera Expert

Hi, we have a business requirement to change the icon that displays in the genius result box in AI Search. We successfully changed the icon to differentiate between indexed sources but cannot see how to do it specifically for genius results. I've attached files showing the current icon and what we're trying to change it to. Does anyone have advice or instructions on how to accomplish this?

 

Thanks  

1 ACCEPTED SOLUTION

Neil Taylor1
Tera Expert

UPDATE: ServiceNow has now confirmed that the Genius Results icon is not customizable. See KB1212192.

View solution in original post

6 REPLIES 6

According to this it can be customized now: 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1198812

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul

Julia6
Tera Contributor

I was able to configure it by duplicating the template and making it the following in red (can replace key with other ServiceNow icon:

 

{
"component": "sn-search-genius-catalog-card",
"mappings": {
"identifier": "columns.taxonomy_topic",
"marker": "columns.picture",
"heading": "columns.name",
"primaryDescription": "columns.short_description",
"secondaryDescription": "columns.url"
},
"staticValues": {
"markerType": {
"translatable": false,
"key": "icon"
},
"marker": {
"translatable": false,
"key": "open-link-right-fill"
}
},
"actionMappings": {
"actions": ["genius_navigation_catalog_external"]
}
}

 

I found the following options defined as part of the template, but I didn't look into the others farther:

marker:{default:"",schema:{type:"string"}},
markerType:{default:"image",schema:{type:"string",enum:["image","icon"]}},
imageAlt:{default:"",schema:{type:"string"}},
heading:{default:"",schema:{type:"string"}},
primaryDescription:{default:"",schema:{type:"string"}},
secondaryDescription:{default:"",schema:{type:"string"}},
actions:{default:[],schema:{type:"array"}},
model:{default:[],schema:{type:"object"}},allowFeedback:{default:!0,
schema:{type:"boolean"}},
feedbackOptions:{default:f,schema:{type:"array",items:{id:"string",label:"string"}}},
identifierFontSize:{default:"sm",
schema:{type:"string",enum:["sm","md","lg","xl"]}},
headingFontSize:{default:"xl",
schema:{type:"string",enum:["sm","md","lg","xl"]}},
descriptionFontSize:{default:"md",schema:{type:"string",enum:["sm","md","lg","xl"]}},
enableDataLabelingFeedback:{default:!1,schema:{type:"boolean"}},

isGlobal:{default:!1,schema:{type:"boolean"}