Implemented Sitecore Commands

 We have customized sitecore ribbon in core database. Where we have to create Reference, Strips and Chunks. For detailed reference, the below link covers.


https://cmsview.wordpress.com/2015/03/17/sitecore-8-for-beginners-adding-custom-button-to-ribbon/

Step 1 : First we have to create Reference and Strips in core database. Finally we have to create Chunks in the following file path : /sitecore/content/Applications/Content Editor/Ribbons/Chunks/



Inside the Chunks, we have to create button and it has Click field where we have specify the command name which is mentioned in command config file (item:custompreviewbutton)

Step 2 : We have to create config file to initialize the command. We have to specify the CommandName and Type(Full class file name, namespace)


Step 3 : We have to create class file to write the logic for command what should happen when user clicked button from the ribbon.

Here, we are redirecting to external site by reading the url from link field of current item.

Path of the class file : Cirrus.Foundation.Sitecore.Commands.CustomPreviewButton

Comments

Popular posts from this blog

Email Experience Manager (EXM)

Federated Experience Manager (FXM)