Hi, Thank you for your interest in helping me.
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);
Is it correct. Please help me with that. Thank you!
Hi @menayat.
This course on the Developer portal may be helpful:
Customizable and Responsive UI
Regards.
--Sharon
Hi @menayat.
If the previous response helped you to find a solution, please mark it as the Accepted Solution for the benefit of others on the community.
Regards.
--Sharon
No, still I didn't get any solution.
And I think thingworx has drawbacks here with this dynamic menu.
If a user is creating a dynamic menu and passing the value from service and make the entry
isDefault = true;
and in another hand, if the user will create a menu static and tick on default then is selecting when a master is loading.
then thingworx should take the menu as default selected menu but it's not taking.
To Thingworx team please make it correct.
Hi @menayat.
Can you provide your mashup and supporting entities for review? It would also be helpful for you to provide the recreation steps so that we have a better understanding of the intent.
Regards.
--Sharon