AI Search

rob85
Giga Expert

A customer has asked for Quick Links to be returnable in the AI Search on the Employment Center home page.

 

Strictly speaking this has been done successfully, and the result looks like this:

AI Search - QL Result.jpg

Point to note is that we're only concerned with Quick Links that are of type External Link.

 

The card shows a few mapped fields, and for the purpose of this demo I've included the related the value from the related External Link URL field. Up to here there is no issue.

 

However, clicking this card takes the user to the Quick Link record, and the requirement is to go to the actual link destination. I haven't found anything in the many components of AI Search that will do this, so obviously something needs to be created. Read lots of doco & forums, but nothing helps with this scenario.

 

I'm new to AI Search though, and I think some of the finer points are escaping me. Is there a need for a new Declarative action, and if so, what would it look like, or is there a better practice for achieving this?

 

Just in case anyone wants to suggest the article at

https://www.servicenow.com/community/ai-intelligence-articles/changing-the-ai-search-navigation-on-e...

 - I consider this a very good post, but it doesn't quite address what I'm after, since it still looks at opening a local db record, rather than an external URL.

1 ACCEPTED SOLUTION

rob85
Giga Expert

The solution here was in three records:

1. EVAM View Config

2. Action Assignment [aka Declarative Action]

3. Action Payload Definition

 

Process:

1. Open the EVAM View Config you've created to reach this point, in this case it is specifically for 'Quick Links Search Results'.

rob85_0-1689892988280.png

Note that the object we need to work with will be the Declarative Action in the M2Ms related list.

 

2. Open the table 'sys_declarative_action_payload_definition' and create a new record. The search results are set up to be clickable, and we want to tell this type of result what to do when clicked. In this case we are saying 'It's a hyperlink' (url) and the value for the hyperlink can be found, not in the Quick Link record, but in the 'URL' field of the related External Link record.

rob85_1-1689894551356.png

 

 

 

 

View solution in original post

2 REPLIES 2

rob85
Giga Expert

The solution here was in three records:

1. EVAM View Config

2. Action Assignment [aka Declarative Action]

3. Action Payload Definition

 

Process:

1. Open the EVAM View Config you've created to reach this point, in this case it is specifically for 'Quick Links Search Results'.

rob85_0-1689892988280.png

Note that the object we need to work with will be the Declarative Action in the M2Ms related list.

 

2. Open the table 'sys_declarative_action_payload_definition' and create a new record. The search results are set up to be clickable, and we want to tell this type of result what to do when clicked. In this case we are saying 'It's a hyperlink' (url) and the value for the hyperlink can be found, not in the Quick Link record, but in the 'URL' field of the related External Link record.

rob85_1-1689894551356.png

 

 

 

 

Kumar116
Tera Contributor

Hello Rob, how to auto select field value on form opened from above link, suppose i open catalog item form and want to select software name displayed on search result,

Kumar116_0-1703158328259.png