cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Hide or delete a specific item in a Menu

KT_10107318
6-Contributor

Hide or delete a specific item in a Menu

Hi all, i have a menu which has 10 items in it. For one site i need to have 10 menu item. For other site i only need 8 item in a menu. Suggest a code to hide or delete the menu items based on my condition. Thanks in advance 

2 REPLIES 2

Create user groups with respect to plants.

Then add user groups to each menu item in Menu entity.

 

https://www.ptc.com/en/support/article/CS205546

 

Hello @KT_10107318, 
Not sure what exact widget you are using, There may be a visible flag which is part of the menu definition. If you are providing an InfoTable to define the menu, the process of creating the infotable could accept a parameter to identify which version of the menu should be presented.

Top Tags