Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hello everone!
I want to build a Master like follwing pic.
Click the top menu which is parent menu of the leftside one, the leftside menu will change to appropriate sub items of the top.
I don`t want to build two Master or Mashup nested. It is better to solve by one Master.
Is there a mathod to add an output Event to Menus Widgets or create a Service for calling one or more sysytem Service as solution?
Solved! Go to Solution.
Have you thought of managing visible menu items by using User Groups?
Not sure how dynamic you are grabbing the menu definition, but the exact same table (data source) should be used for both of the menus for the interaction between menus to work.
This behavior should be possible with Thingworx menus and the menu widget.
Create your main menu with submenus in Thingworx
Then add two menu widgets, one to display the parent menu items, the other set to display the children.
thanks for reply.
I need to get menu items from database insure that i can add or delete menu labels optionally.
But actions in ThingWorx Composer can't realize function.
So I create a service attemched with Menus Widgets MenuData field and put the Mashup field from top menu to leftside where i pulled a Contained Mashup widget on it.
It didn't work.
Have you thought of managing visible menu items by using User Groups?
Not sure how dynamic you are grabbing the menu definition, but the exact same table (data source) should be used for both of the menus for the interaction between menus to work.
Yes, I considered it.
And I solved the problem by putting a Tree Grid Widget instead of Menu on the leftside.
I attached Mashup output parameter of the top menu which storage the query condition of the sub menu to a Text field Widget for transferring query-parameter and event to trigger sub menu service.
Then I set it invisible.
It worked and realize the function to add or delete menu items dynamically.
Thanks a lot and I'll test grabbing the menu definition using the same table for both of the menus you suggested.