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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

Show/Hide the ThingWorx menu items

SKannapiran
12-Amethyst

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.

ACCEPTED SOLUTION

Accepted Solutions

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 

View solution in original post

1 REPLY 1

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