Show Topic name in breadcrumb path on ESC Portal

CA5
Tera Contributor

How to enable breadcrumb path when any keyword is searched on ESC Portal?     

  

 

 

 

1 ACCEPTED SOLUTION

Sajal Gupta
ServiceNow Employee
ServiceNow Employee

@CA5 As I already mentioned above you need to update the view template of the respective config where data is coming from.

In this case please follow below:

1. Open the view template 

SajalGupta_0-1703271535944.png

2. Update mappings as per requirement (For eg. I interchanged price & topics)

SajalGupta_1-1703271718513.png

3. Search and validate results 

SajalGupta_2-1703271824111.png

 

Note: If you want to remove topics, pass the mapping as an empty string

SajalGupta_0-1703272016461.png


Mark this as accepted if all your queries have been addressed.

Regards

Sajal



 

View solution in original post

10 REPLIES 10

Sajal Gupta
ServiceNow Employee
ServiceNow Employee

@CA5 The two screenshots use different searches, 1st screenshot shows contextual search whereas the other is using AI search. 
Can you confirm you don't want to use AI search on the portal?

CA5
Tera Contributor

1st screenshot is taken from PDI as on PDI, AI search is disabled. In case, if we enable it on customer instance then by default, breadcrumb path is enabled [2nd screenshot]. Query over here is that where can I see code written for this breadcrumb path? In case, if I need to customized it and add other knowledge article or catalog item fields then how can we accomplish this? 

Sajal Gupta
ServiceNow Employee
ServiceNow Employee

@CA5 You can go to EVAM Definitions > Open (ESC Portal Search) > Switch to Tab (EVAM View Config Bundle M2Ms) .

SajalGupta_0-1703269670506.png


Check the ESC Portal Search Bundle or Taxonomy Search Bundle to find your respective table data view config and use table fields to get additional data from the table and update it in the View Template to show on the AI Search.

SajalGupta_1-1703269836896.png
Regards

CA5
Tera Contributor

Thanks Sajal! Is this configuration for breadcrumb path visible above article or catalog? Can we show Topic, sub-topic etc for catalog item record?