Set default search source


Description

How to change the default search source for Related Search control on the incident form from default value "Knowledge & Catalog (All)" to "Knowledge Articles"

Resolution


OOB "Knowledge and Catalog(All)", is the "Searcher" which Incident is using - /nav_to.do?uri=cxs_searcher_config.do?sys_id=02c78970c39102006f333b0ac3d3ae2d
This searcher has 4 search sources are Knowledge Articles, catalog items, Questions, Pinned Articles.

enable_search_source is being evaluated from script include "cxs_TableConfig" - /nav_to.do?uri=sys_script_include.do?sys_id=c624de10eb1121003623666cd206fec0

Line 126: tableConfig.search_on_tab = false; // hard-coded default value. It will be updated from context after page loaded
Line 127: tableConfig.display_dropdown = (this._gr.enable_source_selector) ? true : false;

Its hardcoded and not possible to change the default value.