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
Adobe 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

arunpatidar
Community Advisor
Community Advisor
October 24, 2024

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

Translate
Arun Patidar
Asutosh_Jena_
Community Advisor
Community Advisor
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
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe 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
Harwinder-singh
Community Advisor
Community Advisor
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
kautuk_sahni
Adobe Employee
Adobe 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