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.

Contextual Search -- Limiting search to specified knowledge bases or catalogs?

onthego
Giga Contributor

I've been working with contextual search in Fuji.   I feel like I'm missing something here in that there is no apparent configuration for what knowledge bases or catalogs the search can be limited toward.   It sniffs of "one size fits all" in a release where we now have multiple defined catalogs and knowledge bases.

My use case is having a wizard for the purpose of front ending a software how-to and/or request that allows the user to search for keywords in knowledge base articles and descriptions of catalog items associated with software requests (i.e. the software product catalog).   I need to limit the search toward software alone.

Has anyone else worked with limiting the search boundaries?

1 ACCEPTED SOLUTION

chrishenson
ServiceNow Employee
ServiceNow Employee

Hello Allan,



Just a quick intro, I'm one of the developers from UK Application Development which created Contextual Search.



Limiting the Service Catalog or Knowledge Base is configured in the Search Context.   I'd recommend creating a new search context which uses the Knowledge and Catalog searcher.   Once the context is created a set of Resource Configurations will be available to you.



Expand the catalog resource configuration you'll see the Catalog Name property.   Enter the name of the catalog you wish to limit the search to here.



Expanding the knowledge resource configuration a Condition property is made available to you.   You can restrict the Knowledge base you wish to search there using an encoded query E.g. kb_knowledge_base=ffcdf061ff2121009b20ffffffffffa4 for the 'out of box' HR catalog.



We're looking at providing a standard set of properties for search resources to make configuration more consistent.



Regards,



Chris Henson


View solution in original post

17 REPLIES 17

Hello Chris,

 

Is there any way to stop displaying particular catalogs from my contextual search results. I tried to apply query to the value field under the catalog name which is under catalog resource configuration but it doesn't work. I have also seen that we can limit our search results to display only one particular catalog but I want to stop displaying one particular catalog. I Is there any way to do this. 

 

Thanks

Adam Syed

flemming1
Giga Contributor

Hey all. Did they add a way to limit searching for catalog items in a specific catalog category? Thanks.

Ashley
Kilo Sage

Good Afternoon,

 

I'm trying to do a filter on the search context "ITSM VA Catalog Item Search", looking at the "Resource Configuration" related list and clicking on "catalog", it only comes with the "Catalog Name" and "Search Operator" properties. I see some of the context searches have a condition one that uses an encoded query which would really help with limiting the catalog items returned in Virtual Agent.

 

I'm using the EA Utah release and wondering if this will ever be added?

 

Kind Regards

 

Ashley