HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Configure the dashboard

Describes how to configure the dashboard and gadget availability in Optimizely Content Management System (CMS) versions 10 and 11.

📘

Note

This legacy content applies to Optimizely Content Management System (CMS) versions 10 and 11.

You can plug in your components directly through the component plug-in functionality. However, you cannot set up different dashboards for different roles.

Disable and secure gadgets

You can configure gadgets to be disabled or to only be available for specific roles. The gadget is specified by its definition name, which normally is the full class name of the type. To disable a gadget, set allowedRoles to none. To require specific role access, specify which roles are allowed to use the gadget as a comma separated string. The gadgets are not available for the user to add. The system also removes from a view any existing gadgets that the user does not have access to.

Example:

<episerver.shell>
        <viewManager>
            <securedComponents>
                <add definitionName="EPiServer.Cms.Shell.UI.Controllers.QuickLinksController" allowedRoles="Administrators" />
                <add definitionName="EPiServer.Shell.UI.Controllers.VisitorGroupsStatisticsController" allowedRoles="None" />
            </securedComponents>
        </viewManager>
</episerver.shell>

Use Shell modules

Views and client resources in Online Center need a virtual path where they can be found, so they are organized into modules. CMS ships with the following modules:

  • Shell – Contains the dashboard and resources shared between multiple products.
  • CMS – Contains resources specific to the CMS.

Modules are further organized into protected and public modules that are essentially the same except for the root path below which they are expected to be found. The root path for protected modules is configured by a location block to only allow authenticated editors.