cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

menayat
6-Contributor

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

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!

ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:menayat)

Hi @menayat 

 

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

 

Regards

Christophe

View solution in original post

3 REPLIES 3
cmorfin
19-Tanzanite
(To:menayat)

Hi @menayat 

 

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

 

Regards

Christophe

slangley
23-Emerald II
(To:menayat)

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

slangley
23-Emerald II
(To:slangley)

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

Announcements


Top Tags