AnswerBun.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!

Related Questions

This site cant be reached error while I am loading sitecore 8.2 client

2  Asked on December 30, 2021 by manideep-yechuri

   

Prevent sitecore from creating the the sitename#lang cookie

2  Asked on December 20, 2021 by manoj-sreekumar

 

Using serilog on Sitecore 9.0.1

1  Asked on December 13, 2021 by alecasciaro

 

How to identify configured tasks in visual studio

1  Asked on December 11, 2021 by jeyanth-praveenkumar

   

How to debug Sitecore Helix Feature using Visual Studio 2017?

2  Asked on December 7, 2021 by grilosape

 

Ask a Question

Get help from others!

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