Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Configure search page

andersbogsjo
Tera Guru

Hi!

In the Service Portal - Widget Search Nav I have configured a new Typeahead Serch for Incicents. So when the result displays in the Search Page Widget. I wold like when the user clicks on an incident to be Navigated to the Ticket page

find_real_file.pngNot to the Service Portal Form which it does now.

find_real_file.pngHow do I configure that in the Widget Search Page?

Regards 

Anders

1 ACCEPTED SOLUTION

for this you have to modify Search page template on related search source. Change the value of id in link. 

 

form --> ticket

 

find_real_file.png

View solution in original post

4 REPLIES 4

andersbogsjo
Tera Guru

I understand that I can make a Data fetch script in the Search source record, but my scripting knowledge isn't that good.I just wonder how that script would look like?

I want the resuts to be shown as follows:

The filter should be for the logged in user and the records shold match that user if he/she is either in caller_id or Opended by. 

In the record shown I want it to display the main field=short_description and the other fields should be: number, opened_by, caller_id, configuration_item.

And when the user clicks it should open the page ticket for that incident.

You can control everything without any script in search sources available under portal page.

find_real_file.png

Select the table you want to apply search on, add filter, define whats the primary fields that has to be displayed, also others in display fields.

find_real_file.png

 

Select the page which will display the record in page field , when you click on the search results.That's "tickets" in your case.

find_real_file.png

Thanks

Yes That works when I klick in the Type Ahead search.

But not from the Searchpage

find_real_file.png

/Anders

for this you have to modify Search page template on related search source. Change the value of id in link. 

 

form --> ticket

 

find_real_file.png