0
alper created
Support Team
Director
1 Answer(s)
-
0
You can use
SetSubItemOrder
method to set an order inYourProjectMenuContributor.cs
class.private static async Task ConfigureMainMenuAsync(MenuConfigurationContext context) { var l = context.GetLocalizer<SAMResource>(); context.Menu.AddItem(new ApplicationMenuItem( SAMMenus.Home, l["Menu:Home"], "/", icon: "fas fa-home", order: 1 )); //Administration var administration = context.Menu.GetAdministration(); administration.Order = 2; //Administration->Saas administration.SetSubItemOrder(SaasHostMenus.GroupName, 1); //Administration->Identity administration.SetSubItemOrder(IdentityProMenus.GroupName, 2); //Administration->Language Management administration.SetSubItemOrder(LanguageManagementMenus.GroupName, 3); //Administration->Text Template Management administration.SetSubItemOrder(TextTemplateManagementMenus.GroupName, 4); //Administration->Audit Logs administration.SetSubItemOrder(AbpAuditLoggingMenus.GroupName, 5); //Administration->Settings administration.SetSubItemOrder(SettingManagementMenus.GroupName, 6); }