Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi, I have two menus and a mashup container, I want the two menus to show their respective mashup links in the same mashup container, what is the best way to do it?
Hi @AC_9552412,
There are two ways to connect "Menu" and "Contained Mashup" in Thingworx:
The Menu widget is a good way to connect two menus in the same mashup container, you can refer PTC article
hi @yhan.
this is what I have, menu 1 and menu 2 have to show different mashups in the same mashup container, is it possible, if it is possible is there a way to not show menu 1 selected if I am opening a mashup from menu 2, is it possible?
Do you mean you want to bound the one contained mashup with two different menu widgets? When you click the 1st menu item, the contained mashup will display the 1st menu defined page, when clicking the 2nd menu item, it will display the 2nd defined page while clearing the 1st menu item selection?
If so, my thoughts list here:
1. Set two menus' ConfiguredOrDatadriven property as data-driven
2. Create service with output as infotable type with "MenuEntry" data shape
3. Bind All Data of service to Menu widget
4. Add parameters to your contained mashup and bind selected rows of service to contained mashup
Thanks,
/Yoyo