preview publish option for pages similar to quick publish on sites.html | Community
Skip to main content
March 3, 2022
Solved

preview publish option for pages similar to quick publish on sites.html

  • March 3, 2022
  • 2 replies
  • 1213 views

I am building one preview functionality in AEM to publish the content to preview server first to review the pages before publishing to actual publish instance. To meet the requirement, I have overlayed the sites node from libs to apps (wcm/core/content/sites) and added new preview publish node under jcr:content/actions/selection which is now visible in sites.html after selecting a page. I want to add a custom java script and pop up dialog to add a custom action on it. Can someone suggest the steps to attach custom actions on the new preview publish button?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

kautuk_sahni
Community Manager
Community Manager
March 23, 2022

@asutosh_jena_ @arunpatidar @joerghoh Any Guidance to this? 

 

Kautuk Sahni
April 3, 2023

I have similar requirement where i have to publish the page to preview url but the replication access is denied. So, it is executing another workflow i.e  request for activation to preview the page. I want to write a custom code to publish the page to preview. Anyone has any solution for this.