Expand my Community achievements bar.

How to skip childnode in rollout

Avatar

Level 6

Hi,

I have a child node(translate) under jcr:content for some pages, on rollout of the master page, I don't want this child node to get updated. This child node has properties which are unique to each page and thus should not get updated with master values on rollout.

The Day CQ RolloutManagerImpl configuration has a checkbox Handle Conflict, which if unchecked, the nodes don't get overridden. But in this case, even the multifield child node (item0, item1, etc) also don't get updated. So rollout doesn't work for multifield nodes.

I need an approach which will help rolling out multifield without updating the translate node.

1 Reply

Avatar

Community Advisor

HI @Shaheena_Sheikh ,

You will have to write a custom logic to achieve the requirement. You can try to write an event listener to attach/detach the node from the blueprint whenever there is a condition/property set to a page.

 

-Tarun