Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
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.
Solved! Go to Solution.
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.
View solution in original post
Hey,
you can use sling jobs to schedule replication API event.
e.g. https://redquark.org/aem/day-18-sling-jobs/
Views
Likes
Replies