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.