- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 01:11 AM
Dear Expert.
Please tell me how to control the Mega Menu in the Employee Center.
I want to hide menu items in the Employee Center according to conditions.
(1) In which table should I set this up?
(2)I would like to use the same user criteria that I use elsewhere if possible. If possible, please let us know the implementation procedure or knowledge that could be used as an implementation sample.
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 06:11 AM
Hi @M_Tomy
Topics in the menu is controlled by users access to content connected to the topic. If you have added menu items that is not a topic you can controll access to the menu items using a condition.
You can find you menu items in the releated list of you menu in table sp_instance_menu. In the condtion field you can write a javascript condition, if you want the condtion to be based on user criteria you can use the following as the condition: "sn_uc.UserCriteriaLoader.userMatches(gs.getUserID(),["<sys_id of the user critera>"])"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 06:11 AM
Hi @M_Tomy
Topics in the menu is controlled by users access to content connected to the topic. If you have added menu items that is not a topic you can controll access to the menu items using a condition.
You can find you menu items in the releated list of you menu in table sp_instance_menu. In the condtion field you can write a javascript condition, if you want the condtion to be based on user criteria you can use the following as the condition: "sn_uc.UserCriteriaLoader.userMatches(gs.getUserID(),["<sys_id of the user critera>"])"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 09:39 PM
Thank you very much.
I realized it in a way similar to how you did it.
Thank you very much.