Skip to main content
Level 2
Nov 11, 2026 10:53 PM UTC
New

AEM - Quick Preview Button

Hi the team,

Via Manage Publication, we can publish on the preview instance and the publish instance.

We also have a Quick Publish button but there is no Quick Preview button.

Would It be possible to add one to the Author instance (sites.html/content and editor.html/content) ?

Regards

5 replies

shrutid56001193
User Group Leader
User Group Leader
Nov 12, 2026 7:27 AM UTC

​@RodrigueH , do you mean basically what“view as published” does, but on a single click, without opening a page ? if yes, then it is possible and I might have a prototype that I can look it up.

Translate
https://www.shrutidamle.com/
RodrigueHAuthor
Level 2
Nov 12, 2026 8:15 AM UTC

Hello ​@shrutid56001193 ,

 

"view as published" requires authentication as an author, unlike the preview instance (https://preview-pxxxxx-exxxx.adobeaemcloud.com).
Currently, we have a "Quick Publish" button for sharing a page with our client; we would like a "Quick Preview" button that allows us to send that same page to the preview instance, so that we can test it under the same conditions in which our client will experience it before it is published.

Translate
shrutid56001193
User Group Leader
User Group Leader
Nov 12, 2026 8:39 AM UTC

​@RodrigueH , understood.

This can be built with a custom action button and with supported APIs.

Backend: a small servlet using the Replication API with an AgentFilter that selects the preview agent.

Without the filter, by default, only publish is used.  Publishing references (assets/CFs) too, should be considered as well, or the client will see missing images.

Sites console: overlay /libs/wcm/core/content/sites/jcr:content/actions/selection and add a new collection action next to Quick Publish that calls your servlet.

Page editor: add an item to the page-info menu via overlay + an editor clientlib.

NOte: : the preview tier is IP-allowlisted by default, so your client’s IPs must be allowed or they won’t be able to open the link.

 

Translate
https://www.shrutidamle.com/