Saturday, May 27, 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.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

Configure Sitecore 9.1 Content Tagging feature with Open Calais

What is Tagging? Tagging refers to the metadata of the content which is assigned to a content by the content creator and the r...