Skip to main content
15-Moonstone
April 10, 2017
Solved

Menu default problem....

  • April 10, 2017
  • 2 replies
  • 3746 views

I created a mashup that contains a master with a vertical menu, in which I have defined a menu item as default.

When I view the mashup you do not load the set default page in the menu '.

Any suggestions ?

thnx Giuseppe

Best answer by aziliotto

Hi i have the trick solution for this problem.

1. remove the menu thing from menu widget

2. add the service "GetMenuItems" from the thing menu you created

3. map the "all data" into "menudata" of menu widget

4. trigger the GetMenuItems at the mashup loaded

Doing in this way you provide to the menu widget a dynamic dataset of data coming from the menu thing you created. It works with all broswer!

Enjoy

2 replies

20-Turquoise
April 10, 2017

What is your Thingworx platform version, database, tomcat version, Operating system. and which browser are you using?

15-Moonstone
April 11, 2017

Dear Polina Osipova,

The Platform is ThingWorx 7.2.3-b48 & Apache Tomcat 8.0.20 , Windows 7 / Windows 10, I Tried  with Internet Explorer  & Chrome but the problem remains.

20-Turquoise
April 11, 2017

I will take a look as soon as I'm in the office today.

In the meantime, you should upgrade your tomcat to 8.0.33 minimum as that's the minimum version we do support (in 8.0.x)

aziliotto12-AmethystAnswer
12-Amethyst
October 6, 2017

Hi i have the trick solution for this problem.

1. remove the menu thing from menu widget

2. add the service "GetMenuItems" from the thing menu you created

3. map the "all data" into "menudata" of menu widget

4. trigger the GetMenuItems at the mashup loaded

Doing in this way you provide to the menu widget a dynamic dataset of data coming from the menu thing you created. It works with all broswer!

Enjoy