Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Can we invoke replication api with a specific time content needs to replicate?

Avatar

Avatar
Level 1
MrShubham
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
MrShubham
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
MrShubham
Level 1

10-05-2021

My requirement is to invoke replication API for a content/asset at a particular time.

As we have an option on the AEM UI for Publishing or unpublishing content later at a scheduled time.

MrShubham_0-1620643853481.png

 

View Entire Topic

Avatar

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

169 likes

Total Posts

180 posts

Correct Reply

54 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

169 likes

Total Posts

180 posts

Correct Reply

54 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile
KiranVedantam1992
Level 7

10-05-2021

Hi @MrShubham,

 

You can use the Scheduler [AEM Event handling mechanism] to achieve this.

 

Sample scheduler code: https://medium.com/adobetech/handling-sling-schedulers-in-aem-as-a-cloud-service-cb59d5e59e9

Sample replication code: https://aem.redquark.org/2018/10/day-19-replication-api-in-action.html

Utilize these examples to achieve your use case.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.