Redirect to external link for catalog item in Genius result

Abeer-khan
Tera Guru

Hello,

 

There is a catalog item when I click on it to open, it opens an external link and displays alert box to enter user's credentials to access that page, with normal search on sp portal and when I do the same search by activating Genius results it is opening a page with "sp?id=sc_cat_item&sys_id" page which doesn't redirect to the link. I have checked and updated the search actions, but it’s still not working.

 

Need help on how to configure the alert box on Genius card request button. Thanks

 

Best regards,

Abeer

 

 

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @Abeer-khan,

 

To redirect from a catalogue item to an external link when it appears in a Genius search result, you need to configure the search result action. Specifically, you'll need to make sure the "Portal Page" in the search result action is set to redirect to the desired external URL. 
 
Here's how to do it:
  1. Go to Service Portal > AI Search > Search Result Actions.
  2. Filter the list based on the portal you're using.
  3. Find the Catalogue result configuration.
  4. On the form, ensure the correct service portal, portal page, and action name are populated. 
     
  5. In the "URL" field, enter the external URL you want to redirect to. 
     
  6. Ensure the "Isolate script" field is set to "false" and that the script is set to run in the Portal. 
     
By following these steps, you can ensure that when a user searches for a catalogue item and the Genius result shows the item, clicking on it will redirect them to the specified external link instead of the default ServiceNow page
 
If this is helpful, please hit the thumbs up button and accept the correct solution by referring to this solution in the future; it will be helpful to them.
 
Thanks & Regards,
Abbas Shaik

Hello @Abbas_5 ,

 

I have created the below search action. How this will work for a specific catalog item. I'm unable to find the isolate script field it is not available on this table. Thank you.