TransWikia.com

Customize Publish functionality in Experience Editor

Sitecore Asked by Debaparna on August 23, 2021

I want to add a custom condition for Publishing an item in Experience Editor Mode.
By default it uses the Publish.js and in that JS, there is function as below:

showPublishDialog: function(context) {
      ExperienceEditor.modifiedHandling(true, function (isOk) {
        ExperienceEditor.PipelinesUtil.initAndExecutePipeline(context.app.PublishPipeline, context);

What is this context.app.PublishPipeline, how can I abort publish pipeline based on condition?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP