preview publish option for pages similar to quick publish on sites.html | Community
Skip to main content
New Participant
Mar 3, 2022 2:19 PM UTC
Solved

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

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.

3 replies

New Participant
Apr 3, 2023 7:08 AM UTC

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.

Translate
kautuk_sahni
Employee
Mar 23, 2022 9:00 AM UTC

@asutosh_jena_ @arunpatidar @joerghoh Any Guidance to this? 

 

Translate
Kautuk Sahni