Adding content to the Side Panel navigation

side-panel-content-bloomSDL Tridion 2013 SP1 comes with a lovely new interface (Carbon 2.0) which features a Side Panel navigation that allows users to jump through to other SDL products and remain within the same interface.  What’s also cool is that you can also add your own items and tools to the side panel, and with this simple example, I hope to show you how easy it is.

 

The process is pretty simple:

  1. Create a web page
  2. Add your page location to the CME ‘Editors’ as a virtual directory
  3. Configure your link within the Side Panel
  4. That’s it!

1. Creating a Web Page

Here you can create a simple HTML webpage, or should you wish to use more dynamic functionality (including Tridion’s own GUI framework) you can use an ASPX page.

I’ve create my webpage as an .aspx file (ContentBloom.aspx) and have included it in a folder called ‘SidePanel’.

<%@Page Language="C#" AutoEventWireup="true"
Inherits="Tridion.Web.UI.Editors.CME.Views.Dashboard"
ClassName="DashboardView"%>
<!DOCTYPE htmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<h1>Welcome to the Content Bloom Example landing dashboard page</h1>
</body>
</html>

Note: I’m inheriting ‘Tridion.Web.UI.Editors.CME.Views.Dashboard’ but you can also write your own class here.  Documenting how this works would take pages and pages, I would suggest reading up on GUI extensions and studying some examples if you wish to know more.

2. Add your file location to the CME Editors

side-panel-iisOpen up Internet Information Services (IIS) and browse through your SDL Tridion website, to the location: WebUI > Editors and create a new virtual directory, in this example, my virtual directory is called ‘ContentBloomSidePanel’.

The virtual directory path should point to the folder where your webpage is created, as part of step 1 above.

We add this reference to ensure our page can run under the CMS URL as we’ll need to configure the path to our file in the next step.

3. Configure your link

Open up a file called manifest.xml, which is located in:

  • {tridion-home}/SDL/manifests/wcm

This page contains the links that are shown within the Side Panel.

The XML structure is simple to understand, the basic structure is as follows:

<applicationEntryPointGroups>
      <applicationEntryPointGroup>
        <applicationEntryPoints>
          <applicationEntryPoint>
        </applicationEntryPoints>
      </applicationEntryPointGroup>
</applicationEntryPointGroups>

You’ve two options:

  1. Create your own <applicationEntryPointGroup>, in which case your link will appear as a top-level item or
  2. Create <applicationEntryPoint> within the existing group which houses the links related to SDL Tridion.

Whatever you chose, your entry point contains a number of attributes:

  • ID – the ID you wish to give to your page, this is shown in the CMS URL
  • Title – the link title that is shown
  • DomainID – the domain you wish to use for the application, domains are also configurable within this document should your file exist on another domain, in which case you don’t need to create the Virtual Directory in step 2.
  • URL – The Url that is used when the user clicks the link
  • Icon – the path to an image icon that is shown along side the link

So my actual <applicationEntryPoint> node looks like this:

<applicationEntryPoint id="content-bloom" title="Content Bloom"
domainId="local"
url="/WebUI/Editors/CME/Views/ProxyView/ProxyView.aspx?pagePath=/WebUI/Editors/ContentBloomSidePanel/ContentBloom.aspx"
icon="/WebUI/Editors/ContentBloomSidePanel/Client/Images/cb-logo.png" />

You’ll also notice that within this file there also exists an opportunity to configure translations, to keep this example simple, I have not include translations, but the process is incredibly simple:

        <translations>
          <titlelang="fr">Bonjour</title>
          <titlelang="es">Hola</title>
        </translations>

Once you’re all saved, clear your browser cache and restart SDL Tridion and your link and CMS functionality should magically appear :)

One thought on “Adding content to the Side Panel navigation

  1. Hi,

    For Web8.5, ProxyView.aspx is now part of Base editor, so the application entry point entry should be like this:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>