Replication Preprocessor not working in Publisher | Community
Skip to main content
Shashi_Mulugu
Community Advisor
Community Advisor
March 19, 2020
Solved

Replication Preprocessor not working in Publisher

  • March 19, 2020
  • 1 reply
  • 4773 views

Hello @kautuk_sahni ,

 

We are trying to create a Replication Preprocessor in AEM Publisher which should execute for Activate and Deactivate and Fire an API call if the page is deactivated with Page Path and Page Template, as this api has to be called only for few templates. We are able to execute it successfully but we are unable to get hold of resource as it is already deactivated while this preprocessor is executed. We need resource details as we need to check with if the item is Page or Asset and get template name if that is Page.

 

Any thoughts will be appreciated or please help me in connecting with appropriate members if in case.

 

Thanks 

 

Shashi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Are you using event handler? If yes then check https://github.com/arunpatidar02/aem63app-repo/blob/master/java/ReplicationEvent2.java

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 19, 2020
Arun Patidar
Shashi_Mulugu
Community Advisor
Community Advisor
May 12, 2020
No Arun, but if we use Event Handler, what is the use of Replication Pre-Processor?