Showing posts from May, 2017

How to add custom JavaScript reference in Sitecore publishing wizard.

Do you need to customize the publishing wizard in the Sitecore ?
If you want to do some javascript operation in sitecore publishing wizard and want to add some custom JavaScript or Jquery library reference on this, then follow the below steps:
Go To  \Website\sitecore\shell\Applications\Dialogs\Publish\Publish.xmlAdd your reference like below:

<Publish>     <WizardFormCodeBeside="Sitecore.Shell.Applications.Dialogs.Publish.PublishForm,Sitecore.Client">   <ScriptSrc="/sitecore/shell/Applications/Dialogs/Publish/Publish.js"></Script>

Note:  In the newer version of Sitecore Publish.js and jQuery.noconflict.js is already added.
Now you can use your JavaScript code in publishing wizard.     Happy Sitecoring