Configuring External Search Source in Employee Center

MichaelCreatura
Tera Guru

 

Hello,


Following this article - https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/build/service-portal/task/search-s... I have created the below Search Source to lookup Knowledge Articles in another instance of ServiceNow we use. 

 

MichaelCreatura_0-1681912536332.png


Below is the content in the article that I have pasted into the 'data fetch script field', the highlighted I will change the name of the instance I would like to refer to.

 

MichaelCreatura_1-1681912622814.png

 

Do I need to add anything else to the data fetch script? I have been given a username and password service account to access but I am unsure where this goes. 

This is what I have in the 'facet generation script' field:

MichaelCreatura_0-1681913065641.png

 

Thank you for any assistance! 

1 ACCEPTED SOLUTION

does your user have sufficient roles to read those article in the question now. So can you confirm what all your user has (in external system)?

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

13 REPLIES 13

I've managed to get it to show in the Service Portal (not Employee Center) but get the below:

MichaelCreatura_1-1682339316078.png

 

But on clicking the record:

MichaelCreatura_2-1682339340932.png

 

Thank you for all your help! 

does your user have sufficient roles to read those article in the question now. So can you confirm what all your user has (in external system)?

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

Hello @sushantmalsure 

Yes, it is strange - when I search a KB number or text it finds the record:

MichaelCreatura_0-1683205363201.png

But when you click on the record above it then says 'No Record Found'.

 

However, if you type your search query in and do not click search, but instead click one of the options it opens a new tab with the record displayed:

MichaelCreatura_1-1683205442700.png

MichaelCreatura_2-1683205458067.png

Any help is appreciated! Thank You! 



 

@sushantmalsure did you manage to look at why when I click on a search result it shows as 'Record Not Found'?