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
Oct 24, 2024 8:07 PM UTC

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
Oct 24, 2024 7:56 AM UTC

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
Oct 24, 2024 10:23 AM UTC

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
Oct 24, 2024 8:07 PM UTC

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
Oct 24, 2024 8:11 PM UTC

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

Translate
Level 3
Oct 29, 2024 5:40 AM UTC

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
Level 9
Nov 5, 2024 1:41 PM UTC

@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