Tutorial: set up an external knowledge base search source
Define an advanced search source to return data from any source on the Internet. To understand the power of search sources, follow this tutorial to set up an external knowledge base search source.
시작하기 전에
Role required: none
To create an advanced search source, you need authenticated access to an external website via a REST API and basic knowledge of AngularJS.
이 태스크 정보
In this integration, you will:
- Create a data fetch script that uses the ServiceNow Table API to query a knowledge base from another ServiceNow instance.
- Decode the JSON response and define the fields that the search widget expects.
- Update the search sources HTML template to open the search result in the external site.
프로시저
결과
Test the external search in your portal. Results display under the name field value defined in step three.
Each search result opens in the external site defined in the search page template.