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.xml
  • Add your reference like below:

    <WizardForm CodeBeside="Sitecore.Shell.Applications.Dialogs.Publish.PublishForm,Sitecore.Client">
    <Script Src="/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


Popular Posts