World is now on Opti ID! Learn more

Interface IManagementSitemap

Site map interface used to create navigation structure in the management console. The Initialize method will be called once and will allow one to create menu choices.

Namespace: Mediachase.Web.Console.Interfaces
Assembly: Mediachase.WebConsoleLib.dll
Version: 13.30.0
Syntax
public interface IManagementSitemap

Methods

Initialize(ManagementContext)

Use this method to create menu items in the Management Console. The following example will add Catalog Management as a root menu choice on the left. SiteNavigationNode rootNode = new SiteNavigationNode("Catalog_Home", "Catalog Management", String.Empty); rootNode.App = "Catalog"; context.Navigation.Home.Children.Add(rootNode);

Declaration
void Initialize(ManagementContext context)
Parameters
Type Name Description
ManagementContext context

The context.