Tuesday 5 September 2017

Publishing option on menu

While development with sitecore, each time after the work on the item we need to go to the publish ribbon and do the publish stuff. So was thinking that it will be great, "If on the right click of the item we get the publishing option."

And yes, successfully achieve the desired requirement. Believe me it was really interesting and required small changes that's it.


Let me explain steps that will take around 10 minutes to achieve this functionally.

1. Login on the sitecore instance and jump to core database.

2. Go to the Tree up to /sitecore/content/Applications/Content Editor/Context Menues/Default 

3. Create one item of type /sitecore/templates/System/Menus/Menu item  with name ItemPublish.

4. Give the message field value as item:publish(id=$Target) and that's it.






5. Save the item and come back to master database. And now it's time to test.



custom-sitecore-publish-button


Also uploaded one package on marketplace can check by clicking here.

Thanks for your valuable time.

No comments:

Post a Comment