AI search View Template Action Mapping of Navigation

seanphelan
Tera Expert

I see the View Template under EVAM for AI search for "Catalog Search Template" and "Knowledge Search Template".  And using these as guides I created my own AI Search Search Sources for the sys_class_name=sc_cat_item_service followed by my own View Template named Service Offering. These work as expected for returning results and rendering tabs across the top.

find_real_file.png

What I am stuck on and need help on is how do this  "actionMappings" for "clickAction": "navigation" know to load id=sc_cat_item or id=kb_article ??  For my records on the sc_cat_item_service I would like to load my own custom page of id=service.

1 ACCEPTED SOLUTION

Gerard Dwan
ServiceNow Employee
ServiceNow Employee

Hi Sean,

As you have already found, in your EVAM configuration (and template) there is a clickAction. The default is ‘navigation’.

find_real_file.png

This points to the ‘Search Results Action’.

find_real_file.png

I would recommend creating a new action and referring to it in your EVAM template and configuration. You should be able to select the portal page you are looking to render results on and any additional information you would like to pass to render the results.

find_real_file.png

Hope this helps!

View solution in original post

2 REPLIES 2

Gerard Dwan
ServiceNow Employee
ServiceNow Employee

Hi Sean,

As you have already found, in your EVAM configuration (and template) there is a clickAction. The default is ‘navigation’.

find_real_file.png

This points to the ‘Search Results Action’.

find_real_file.png

I would recommend creating a new action and referring to it in your EVAM template and configuration. You should be able to select the portal page you are looking to render results on and any additional information you would like to pass to render the results.

find_real_file.png

Hope this helps!

So, I got it to work but then because of security constraints on AI search I moved some data around and broke it.  Any insight to what piece of the puzzle I am missing now?

https://community.servicenow.com/community?id=community_question&sys_id=dd59b87adbca8554ae8125091396...