The CreatorCon Call for Content is officially open! Get started here.

How to achieve the service portal Search source configurations

Resourc
Tera Contributor

I have a requirement related to the Employee Portal search bar:

  • I configured the search source to display results with the Incident number.

  • Currently, when a user selects a result, it opens in the form view.

  • The requirement is to open the result in the ticket view instead.

What I tried:

  • Configured the typeahead with ticket as the result type, but it did not work.

Can anyone please guide me with the correct configuration steps to make the search results open in ticket view instead of the form view?

Currently in form view screenshot

Resourc_1-1758175150868.png
But we need in ticket view similar to below 

Resourc_2-1758175288141.png

 

 

 

 


Thanks in advance

4 REPLIES 4

kaushal_snow
Mega Sage

Hi, @Resourc ,

 

You can fix this by updating the Search Source for the Incident table in Service Portal > Portals > Search Sources, then adjusting the Search Results Action (in sp_ai_search_results_action_config) to use your portal ticket view URL instead of the backend form view so that clicking a result opens the ticket view instead of the form...

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Hi @kaushal_snow 

I am not able to find - Search Results Action (in sp_ai_search_results_action_config) in
Service Portal > Portals > Search Sources, 
Can you please guide me steps

Hi @Resourc ,

 

Navigate to Service Portal > Portals > Search Sources, select the relevant search source, and in the Search Results Action field, create or modify a record in the sp_ai_search_results_action_config table with the following settings.....

 

set the Table field to incident, the Action Type to URL, and the URL field to /incident/{sys_id}?view=incident_ticket_view, replacing {sys_id} with the appropriate variable or reference to the incident's sys_id; then, assign this action configuration to the search source record....try it once..

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Ankur Bawiskar
Tera Patron
Tera Patron

@Resourc 

this link has approach which might help you

AI Search - redirect to Portal page instead of backend form not working 

see this as well

Changing the AI Search navigation on Employee Center [How-To] 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader