What are "KB", "people" or "catalog" prefixes in the search results?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 08:58 AM
I looked at the search results using the virtual agent topic block "ai search".
The search results are prefixed with table name abbreviations such as "KB", "catalog", "people", and so on.
What is this?
The incident table now also appears in the search results, but the incident results do not show "INC".
How can I make it show up as "INC"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 12:26 PM
Hi @shingo osaka1 the prefix for each of the content types are coming from the EVAM configuration.
For example if you take a look at the EVAM specifically the view config and then View Template for the OOTB Virtual Agent People Search Template you will see the prefix populated as shown below in the JSON. This will be true for KB and Catalog as well.
{
"component": "sn-va-genius-person-card",
"staticValues": {
"fieldLabel1": {
"translatable": true,
"key": "Email"
},
"fieldLabel2": {
"translatable": true,
"key": "Phone"
},
"cardName": {
"translatable": false,
"key": "PersonCard"
},
"prefix": {
"translatable": true,
"key": "(People)"
}
},
"mappings": {
"header": "name",
"avatar": "avatar",
"title": "name",
"identifier": "location",
"primaryDescription": "title",
"secondaryDescription": "department",
"fieldValue1": "email",
"fieldValue2": "mobile_phone"
},
"actionMappings": {
"actions": [
"va_viewProfile"
]
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 06:37 AM
Hello @Shamus Mulhall thank you so much for this insight!
We have the same requirement as Shingo Osaka1, and would like to remove/update the "(KB)" prefix in all the search results.
How can we do that as this template has a read-only protection policy? We can make a duplicate, but how do we disable the original one or force it to use our update template?
Any insight would be greatly appreciated.
Many thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 01:48 AM
Hello @Jiri K and @Shamus Mulhall
I have the exact same problem to solve for my customer,
Did any one of you found the solution to this?
Like can I create a new one and how can I tag to my custom search application? if yes, Can pls lay the steps here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 01:47 AM
Hello @SaurabhGidwani,
Yes I managed to solve it in the end! I had to lookup my own notes, please find the steps below.
1. Go to View Template and find the Prefix: sys_ux_composite_data_template
https://[your instance ULR]/now/nav/ui/classic/params/target/sys_ux_composite_data_template.do%3Fsys_id%3D0bf6e98d871635905573eb5e0ebb351d%26sysparm_record_target%3Dsys_ux_composite_data_template%26sysparm_record_row%3D1%26sysparm_record_rows%3D2%26sysparm_record_list%3DtemplateCONTAINS%2528kb%2529%255EORDERBYname
2. Duplicate this EVAM View Template (but NOT via insert and Stay, but by creating a new one and copying the code), make your changes, and then reference the new one in the appropriate EVAM View Configuration: View Template - JK Virtual Agent Knowledge Search Template
https://[your instance ULR]/now/nav/ui/classic/params/target/sys_ux_composite_data_template.do%3Fsys_id%3D993e0c55877bbd101ac5ec683cbb3565%26sysparm_view%3D%26sysparm_domain%3Dnull%26sysparm_domain_scope%3Dnull
3. Use the new EVAM View Configuration:
https://[your instance ULR]/now/nav/ui/classic/params/target/sys_ux_composite_data_template_predicate.do%3Fsys_id%3Dd9e565be530020103296ddeeff7b12e9%26sysparm_view%3D%26sysparm_domain%3Dnull%26sysparm_domain_scope%3Dnull%26sysparm_record_row%3D33%26sysparm_record_rows%3D83%26sysparm_record_list%3DORDERBYorder
I hope that helps!
Regards!