"There may be one or more menus in an application. context.Manager.MainMenu references the default, main menu. We can create and add more menus using context.Manager.Menus property."
Found this on the documentation page. Can anyone help me with more info on how to define and use custom menus. The documentation only explains the Main Menu. I can't seem to wrap my head around defining custom menus. Thanks
I wonder that too recently and while playing around what I did to get it working was: to define a new menu using MenuDefinition
MenuDefinition NewMenu = new MenuDefinition("NewMenu", new LocalizableString("NewMenu", YourProjectNameConsts.LocalizationSourceName));
Populate that newly defined menu with fresh items:
NewMenu.AddItem( new MenuItemDefinition( "YourPage", new LocalizableString("YourPage", GreenPlainsConsts.LocalizationSourceName), url: "#/YourPage", icon: "fa fa-home" ) );
And eventually add newmenu the the menus mentioned in the documentation:
There you have it! This code might not be of the best quality so it should be reviewed by a master.