Try our conversational search powered by Generative AI!

Shell MenuSection / MenuItem not showing up, worked fine in EPiServer 6




I'm working on integrating a search provider and for that we are using a custom menu item. This worked fine in EPiServer 6, but in when upgrading to EPiServer 7 it no longer shows up at all.


What has changed since version 6 in regards to the episerver shell?


What I have found and fixed so far is that ClientResources moved from namespace EPiServer.Shell.Web.Mvc.Html to EPiServer.Framework.Web.Mvc.Html:


However, even after fixing that the menuitem still won't show up. Here's what the code for the menuitem looks like:


using System.Web.UI;
using EPiServer.Shell.Navigation;

namespace Test.Navigation
    [MenuSection( MenuPaths.Global + "/test", Text = "Test" )]
    [MenuItem( MenuPaths.Global + "/test/manager", Text = "Manager", Url = "~/Admin/SitePlugin/TestManager.aspx" )]
    public partial class TestManager : Page



<%@ Page Language="c#" Codebehind="TestManager.aspx.cs" AutoEventWireup="true" Inherits="Test.Navigation.TestManager" %>
<%@ Import Namespace="EPiServer.Framework.Web.Mvc.Html" %>
<%@ Register TagPrefix="sc" Assembly="EPiServer.Shell" Namespace="EPiServer.Shell.Web.UI.WebControls" %>
    <title>Test Manager</title>
    <%= Page.ClientResources( "ShellCore" ) %>
    <%= Page.ClientResources( "ShellWidgets" ) %>
    <%= Page.ClientResources( "ShellCoreLightTheme" ) %>
    <%= Page.ClientResources( "Navigation" ) %>
    <%= Page.ClientResources( "DojoDashboardCompatibility" ) %>
    <form id="form1" runat="server">
        <sc:ShellMenu runat="server" ID="ShellMenu1" Area="CMS" />
        <div class="epi-padding">
            <iframe frameborder="0" style="width: 100%; height: 93%;" src="http://localhost:8080" />


in web.config/configuration/

<add name="TestNavigation">
    <add assembly="Test.Navigation" />


What do I need to change/add to get it to work in EPiServer 7?

Dec 20, 2012 9:47
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.