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.

Can we create additional searchers in the contextual search engine?

bibin
Mega Contributor

Is there a possibility of creating additional Searchers in 'cxs_searcher_config' other than the standard ones, like if I need a new contextual search for some custom tables..

7 REPLIES 7

Adam Hutton
Tera Contributor

It looks like the ability to create searchers and search resources is restricted to maint.  Maybe a HI ticket to have ops create the new searcher?

saidinesh
Tera Expert

I have searched but ended up creating via Background scripts

 

var ga = new GlideRecord("cxs_searcher_config");
ga.initialize();
ga.name = "IT Knowledge Only";
ga.interleave = true;
ga.active = true;
ga.insert();

BK9
Tera Contributor

Hi,

Did you find it possible to search by a related custom table? Basically, I want to display related custom tickets in the contextual side panel.