Try our conversational search powered by Generative AI!

Create a global menuitem using attribute


I am having trouble using MenuItem attriubute for creating global menuitems in topnavigation inside episerver. Decorating my class with this does not work, or they do not show at all:

[MenuItem("/global/cms/edit", Text = "Edit", Url = 
            public partial class DefaultPage : SystemPageBase


But if I use the interface IMenuProvider at get the menu item to show. What am i Missing?

I have tried with the documentaiont about the subject:

Sep 27, 2013 16:28

Most of the time when my Menu does not show up it's because I've forgotten to add a "Shell Module" (

But I guess you've already checked that part?

Sep 30, 2013 13:30
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.