Virtual Agent : How to fix "Search Knowledge Base' topic error

Akhil Pendem
Tera Contributor

Hello,

I'm working on adding knowledge base articles as search results to a topic.
I opened OOB topic 'Search Knowledge Base' and clicked 'Preview', I received the following error.

find_real_file.png

 

This is the log I received:

find_real_file.png

 

The same OOB topic in my personal developer instance works just fine.

 

Thanks in Advance,

Akhil

1 ACCEPTED SOLUTION

Muralidharan BS
Mega Sage
Mega Sage

HI Akhil Pendem,

Probably a scoping issue, I had similar issue, duplicate the "Search Knowledge Base" and open the Contextual Search script action. Go to line 7 and replace it. 

Original

var contextualSearch = new sn_itsm_va.VAContextualSearchUtil();
 
Replace with, 
 
var contextualSearch = new global.VAGlobalContextualSearchUtil();
 
This should fix the issue. 
 

Kindly mark my response correct and helpful if my suggestion resolved your query,


Thanks

Murali

View solution in original post

7 REPLIES 7

Hi Murali,

That's a weird scoping issue. Thanks for the help, it worked.

You've welcome!

ritu_saluja
Tera Expert

Hello,

I am not getting this OOTB  'Search Knowledge Base' 

topic, how can I get this topic