Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How can I hide the Knowledge Search icon for users who do not have the snc_internal role on the Case

swamyk014741873
Tera Contributor

Hi,

I need to hide the Knowledge Search icon on the Case table for users who do not have the 'snc_internal' role. Additionally, if they do access it, they should only be able to search Knowledge Base articles within their own domain. How we can achieve both 

kurellaswamy_0-1756967272184.png

Thanks in advance

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@swamyk014741873 

Case agents should have snc_internal role

why would they not have it?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks for your prompt response.

Apologies for the confusion earlier. You’re right, agents do have the snc_internal role. However, our actual requirement is to hide the Search Knowledge icon based on a custom role: custom_knowledge_fulfiller and Additionally, if they do access it, they should only be able to search Knowledge Base articles within their own domain

Could you please advise 

@swamyk014741873 

I doubt you can show/hide it based on role.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @swamyk014741873 

No, it's not possible to hide it based on role. It's either visible to everyone or to no one — there's no role-based visibility control for this.

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************