final RolloutManager.RolloutParams params = new RolloutManager.RolloutParams();
params.master = masterPage;
params.targets = targets;
params.isDeep = false;
params.reset = false;
params.trigger = RolloutManager.Trigger.ROLLOUT;
LOGGER.info("RolloutParams {}.", params.toString());
rolloutManager.rollout(params);
This approach is not working for me, no errors as well
Solved! Go to Solution.
Views
Replies
Total Likes
Please try this - https://medium.com/adobetech/aem-bulk-sites-creation-live-copies-automation-using-wcmcommand-servlet...
I have not tried in AEM as a cloud service though.
Views
Replies
Total Likes
To programmatically rollout from a blueprint to live copies in AEM as a Cloud Service, the process differs slightly compared to older versions of AEM.
Your current approach using RolloutManager may not work as expected in AEM as a Cloud Service because some of the internal APIs and behaviors are now optimized for the cloud’s distributed architecture.
The LiveRelationshipManager API is the preferred way to manage blueprint-to-live copy relationships programmatically. https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/wcm/msm/ap...
Views
Replies
Total Likes
Hey, there was a permission issue for the service user I was using to get resourceResolver, my approach is working as expected
Views
Replies
Total Likes
Please try this - https://medium.com/adobetech/aem-bulk-sites-creation-live-copies-automation-using-wcmcommand-servlet...
I have not tried in AEM as a cloud service though.
Views
Replies
Total Likes
Hey, there was a permission issue for the service user I was using to get resource Resolver, my approach is working as expected
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies