Skip to main content
1-Visitor
April 30, 2020
Solved

How to get by default selected menu in a dynamic menu list.

  • April 30, 2020
  • 3 replies
  • 1528 views

Hi,

 

How to get by default selected menu in a dynamic menu list.

My codes are


var row = new Object();
row.linkDestination = mainMash;
row.parentMenuId = "Menu";
row.menuId = "Menu_0";
row.isDefault = true;                      // I make it true to get default selection but it's not working.
row.imageURL = "";
row.linkTarget = "Self";
row.description = "";
row.linkType = "Mashup";
row.title = "MAP";
result.AddRow(row);

 

row = new Object();
row.linkDestination = mainMash;
row.parentMenuId = "Menu";
row.menuId = "Menu_0";
row.isDefault = false;                   
row.imageURL = "";
row.linkTarget = "Self";
row.description = "";
row.linkType = "Mashup";
row.title = "REPORT";
result.AddRow(row);

 

Is it correct? Please help me with that. Thank you!

Best answer by cmorfin

Hi @menayat 

 

Could you try setting the menu widget parameter DrivePageMashupOrBindToMashup to Bind to Mashup Parameter

 

Regards

Christophe

3 replies

cmorfin19-TanzaniteAnswer
19-Tanzanite
May 5, 2020

Hi @menayat 

 

Could you try setting the menu widget parameter DrivePageMashupOrBindToMashup to Bind to Mashup Parameter

 

Regards

Christophe

Support
May 20, 2020

Hi @menayat.

 

If the previous response from Christophe allowed you to solve your issue, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon

Support
June 3, 2020

Hi @menayat.

 

I have marked the Accepted Solution for this post.  If you disagree that it is the solution, please let me know.

 

Regards.

 

--Sharon