How to get by default selected menu in a dynamic menu list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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!
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Coding
-
Design
-
Examples
-
Mashup-Widget
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @menayat
Could you try setting the menu widget parameter DrivePageMashupOrBindToMashup to Bind to Mashup Parameter
Regards
Christophe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @menayat
Could you try setting the menu widget parameter DrivePageMashupOrBindToMashup to Bind to Mashup Parameter
Regards
Christophe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
