how can we restrict some knowledge articles not to be getting searched from global search option

anshul_jain25
Kilo Guru

Hi all

I have a requirement like this that for one department we are building a service portal, and for that department there are almost 7000 knowledge articles, but they are no useful for other department or client don't want that these knowledge articles to be searched from any global search.

So is there a way that we can restrict those knowledge articles from not getting searched from global search option.

Is this requirement feasible or not.

8 REPLIES 8

antin_s
ServiceNow Employee
ServiceNow Employee

Hi Anshul,



Do you want the other departments users to not to see the KBs in Global Search only or in the Regular List view also?



If you want to restrict from both Global Search and general List view, you may create an ACL based on whatever condition you think would work for that department cane be used and restricted. But, I would suggest you to use Before Query Business Rule (Instead of ACL) to restrict the access (so that users dont see the 'ACL restricted records' message in List View).



If you just want to restrict from Global Search alone and NOT from regular List View, it is not possible even if you configure the Search Properties. Please refer this Link where we have discussed this ind detail - Re: Retired Knowledge articles in Global search



Hope this helps. Mark the answer as correct/helpful based on impact.



Thanks


Antin


antin_s
ServiceNow Employee
ServiceNow Employee

Hi Anshul,



Did you get a chance to try it?



If my reply has helped your question, can you please mark it as correct to help the community?



Thanks


Antin


ashep99
Mega Expert

Hi,



Goto knowledge base - Administration - Knowledge bases. Select the one you want to restrict.



add the group or who ever shouldn't be able to see this knowledge base in here, under cannot read



Capture.jpg



If you don't see this option, got the burger menu, select configure - related lists and then you will see cannot read in the available options and add this. the restrict group seems to override the allow group so if everyone group was in the Can read group, but HR was in the cannot read then HR would not be able to see knowledge base.



hope that helps


Michael M1
Giga Expert

You should be able to create a User Criteria for all users in group = Department.

Use this in the CanRead criteria tab for the knowledge base.