Expand my Community achievements bar.

Duplicate Synchronize action using Code for MSM

Avatar

Level 4

If I use the following action, the page rolls out to all child pages. Using UI, i can synchronize only one child. How do you do that using code?

Here is sample code that rolls out to all children:

Page masterPage = pageManager.getPage(x); //source page (x is ssource page path)log.info("Found Master Page {}", masterPage.getPath()); RolloutManager.RolloutParams params = new RolloutManager.RolloutParams(); params.master = masterPage; params.isDeep = true;rolloutManager.rollout(params);
0 Replies