Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi all,
I'm using the Menu bar widget for navigation in my Thingworx app. I'd like to implement an "Info"-button into the secondary navigation items of the main menu, which would navigate the user to mashup providing info and help related to currently selected mashup. It would be nice to have this as modal popup over the currently selected mashup.
For example in the pic below, user has selected the "Factory" mashup from the Primary Navigation items, and it is open in the view:
Now when user clicks the "Info"-button, I would like to have the "Info"-mashup modal over the selected factory mashup in the view area. Is such functionality possible to implement with the current menu bar in Thingworx 9.3.3? I know I can implement it in by including the info button and a navigation function into each mashup, but it would be nice to have it in the master and menu bar instead.
Solved! Go to Solution.
Hi,
No need to create separate button for each page.
Hope this Helps !!
I think, including the info button and a navigation function is better option.
Or, try to use "Button Bar" widget, navigation function and expression. It will give you kind of similar look with Menu widget.
My idea: when the info button is pressed in the master mashup:
- pass the current selected menu entry to a service or expression (I guess this should be available in the master containing the menu?)
- in the service/expression check the menu entry and return the corresponding info mashup name
- pass the dynamic-info-mashup to the navigate function
- execute navigate function (not quite clear if it works nice with an expression, if there is a similar event like "SeviceInvokeComplete" like for services to trigger the navigate)
Hi,
No need to create separate button for each page.
Hope this Helps !!