Setting up publish to preview in local AEM | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
October 24, 2024

In the end, for testing purposes it's not different from a normal publish. Instead of configuring it behind the "publish" replication agent, you need to create a "preview" replication agent for it.

6 replies

kautuk_sahni
Employee
November 5, 2024

@lyonmartin Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni
Harwinder-singh
New Participant
October 24, 2024

@lyonmartin Unfortunately, you can not do that locally. This is not even possible with RDEs in the AEM as cloud.

Translate
Level 3
October 29, 2024

If that's the case, is there a process or event that I can listen so I can check if the publish action will be for preview or publish?

Translate
joerghoh
joerghohAccepted solution
Employee
October 24, 2024

In the end, for testing purposes it's not different from a normal publish. Instead of configuring it behind the "publish" replication agent, you need to create a "preview" replication agent for it.

Translate
Asutosh_Jena_
New Participant
October 24, 2024

Hi @lyonmartin 

You cannot setup preview server on local. Instead you can setup a publish instance and use it for the same purpose.
Please refer this link to setup the publish instance locally: https://experienceleague.adobe.com/en/docs/experience-manager-learn/foundation/development/set-up-a-local-aem-development-environment#steps

Thanks,

Asutosh

Translate
arunpatidar
New Participant
October 24, 2024

Hi @lyonmartin 
Not sure if this is possible but in local you can work directly with publishers.

Translate
Arun Patidar