Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Replication through code in AEM as cloud service

Avatar

Level 6

I am trying to achieve Replication through code in AEM as cloud service

Any pointers / examples will help

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @AMANATH_ULLAH 

 

Replication API can be used to programatically activate pages. Get the reference of the API

@Reference
Replicator replicator; replicator.replicate(session, ReplicationActionType.ACTIVATE, pagePath);

 

Refer this 

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/repli... 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Hi @AMANATH_ULLAH 

 

Replication API can be used to programatically activate pages. Get the reference of the API

@Reference
Replicator replicator; replicator.replicate(session, ReplicationActionType.ACTIVATE, pagePath);

 

Refer this 

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/repli...