Scoped Contextual Search

Raj64
Tera Guru

I wanted to create a scoped version of Contextual Search in Virtual Agent. Here's how I did it. Hopefully this helps someone.

 

  1. Change scope to ITSM Virtual Agent Conversations
  2. Duplicate Contextual Search topic block
  3. In VA Designer, open the topic block from #2 and click on the Contextual Search node
  4. Change first line of code to: var contextualSearch = new VAContextualSearchUtil();
  5. Click on Display multi-link node
  6. There's an error in the search_result_json_string line that needs to be corrected to: search_kb_json_string: vaVars.search_result_json_string,
  7. Make the same change as in #4 here also (it won't be the first line, but you'll see it) 
  8. Publish 
 

 

0 REPLIES 0