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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Show/Hide the ThingWorx menu items

SKannapiran
11-Garnet

Show/Hide the ThingWorx menu items

When a user logs into the ThingWorx application, I need to retrieve their user category from the application database. Based on the user's category, specific menu items in ThingWorx should be shown or hidden. Could you please guide me through the steps to implement this?

 

For example,

  1. if user1 logs in, Menu--> Item1---> SubItem1, Item2--->SubItem2, Item3--->SubItem3 to be shown.
  2. if user2 logs in, Menu-->Item1-->SubItem1, Item3---> SubItem3 to be shown.

 

Thank you.

1 REPLY 1
nmutter
14-Alexandrite
(To:SKannapiran)

If your users are in userGroups you can show menu items based on the groups by assigning groups to the menu entires:

nmutter_1-1713285770282.png

Check: https://support.ptc.com/help/thingworx/platform/r9.5/en/#page/ThingWorx/Help/Composer/Visualization/Menus.html

 

If you do not have the users in UserGroups you would need to create a service which returns a menu structure where you added the entries based on the users category - basically like descibed in https://www.ptc.com/en/support/article/CS249303 

Announcements

Top Tags