Add Workbox Button to Sitecore Minimal Experience Editor

Xing Liu • 8/26/2016

Sometimes we want to restrict content authors’ access to the Experience Editor ribbon because we don’t want to create too much distraction for the authors.  One of the way to accomplish this is to assign the role “sitecore\Sitecore Minimal Page Editor” to this group of user.

In addition, if you want to add additional button to the minimal ribbon, such as a workbox button, you can do the following:

  • Add a button to a core folder located in the following location: /sitecore/content/Applications/WebEdit/Ribbons/Standalone Buttons
  • Duplicate one of the existing button and rename it to Workbox.  Update the Data section fields to workbox related information.
  • Put into Raw values mode, in the Layout section, Update the PageCodeScriptFileName parameter to the workbox js like the following: %2fsitecore%2fshell%2fclient%2fSitecore%2fExperienceEditor%2fCommands%2fWorkBox.js

After this, the new workbox button should trigger the workbox dialog box for content review.  

Xing Liu

Xing Liu is a Sitecore MVP with expertise in all aspects of ASP.NET and SQL Server development across a variety of industries including Government, Banking, Healthcare and Energy. He provides technical thought leadership and consulting to SymSoft and client development teams. Xing has deep expertise in using Sitecore Helix in an Agile delivery model to streamline the construction of complex Sitecore websites, portals and their associated authoring environments. Xing is also a globally recognized photographer with an Instagram following approaching 100,000.

Explore topics:

Other Blog Posts from Xing Liu