Sitecore 9.2
- Install the Sitecore Package Sitecore Content Editor Button Demo-1.0.zip
- Create a publish profile in this solution to publish to your local Sitecore site
- Publish your changes to your local IIS website
- Write the command DemoButtonCommand.cs is a simple example.
- Register implementation as an available command using Sitecore Configuration z.Feature.DemoButton.config does this in this solution.
- Setup new Chunk in /sitecore/content/Applications/Content Editor/Ribbons/Chunks in Core DB using /sitecore/templates/System/Ribbon/Chunk template
- Add button as a child of newly created Chunk using template /sitecore/templates/System/Ribbon/Large Button
- Add Reference to the newly created Chunk to an existing Strip in the ribbon, such as /sitecore/content/Applications/Content Editor/Ribbons/Strips/Home. Reference is of type /sitecore/templates/System/Reference