How to hide a topic conditionally from mega menu

suvro
Mega Sage
Mega Sage

Hi,

 

There is a requirement to hide a topic from the mega menu based on User's department or other attributes from sys_user table. 

How we can do that ?

4 REPLIES 4

Deepak_Thayyil
Tera Contributor

@suvro ,

If you have contents within the topic like KB articles, Catalog items, etc you would need to restrict them first based off user criterias. Once all the content within the topic gets hidden for a certain user, the topic will get hidden automatically.

What will be a long term solution where I dont need to think about future contents that will be linked to the Topic.

Deepak_Thayyil
Tera Contributor

Unfortunately, the taxonomy topic and the contents within it in Servicenow are designed in such a way that the contents within determine the visibility of the topic.

Susan Britt
Mega Sage
Mega Sage

@Deepak_Thayyil is correct with this.  The business processes for creating any content (e.g., Knowledge Article, Catalog Item) should always include the consideration of who should and/or should not be able to see it.  This is the best scalable solution.  For example you could have a Topic of "Benefits" and there a knowledge articles and catalog items/services under Benefits, but maybe one article is just for managers and above and one service is just for users in UK.  That security should be on the article and service.