Unable to render Admin menu

Topics: Administration, Core
Aug 5, 2015 at 7:26 AM
I would like to add a new menu item in the admin page. However hasn't succeed.
I created AdminMenu in my Project as :

public class AdminMenu : INavigationProvider
public AdminMenu()
    T = NullLocalizer.Instance;
private Localizer T { get; set; }
public string MenuName { get { return "admin"; } }

public void GetNavigation(NavigationBuilder builder)
    builder.AddImageSet("UsedEquipProperty").Add(T("UsedEquipProperty"), "7", BuildUsedEquipmentProperty);
private void BuildUsedEquipmentProperty(NavigationItemBuilder menu)
  menu.Add(T("UsedEquipProperty"), "7.1", item => item.Action("Index", "UsedEquipmentProperty", new { area = "MyModule" }).Permission(Permissions.EditOwnContent));

 menu.Add(T("Create Property"), "7.2", item => item.Action("Create", "UsedEquipmentProperty", new { area = "MyModule" }).Permission(Permissions.EditOwnContent));
Added script as : menu.UsedEquipProperty-admin.css

Am I missing something?Do we need to add this custom menu item somewhere to be able to view in the admin page?

Thanks in advance
Aug 5, 2015 at 8:29 AM
Make sure that your feature is enabled and that the action, controller and area the menu items are pointing to actually exist. If still no dice, I'd start with a really simple implementation and see if that works.
Marked as answer by Kevinpiper123 on 8/5/2015 at 4:23 PM
Aug 5, 2015 at 11:23 PM
Thanks for your early reply. Solved. Feature was disabled.

Once again Thanks.