Highlighted

Live copy on page with unique ID

patricka5339143

01-10-2018

Hi all, I'm attempting to perform a live copy on a content tree. The issue is that there is a property on these pages which is bound by an oak index that has a uniqueness constraint. I've tried to remove the property via a custom synchronization action, but it seems that this only occurs after the page is copied and the changes are attempted to be committed. This results in an exception during the live copy process.

Is there any way around this?

Replies

Highlighted

PuzanovsP

MVP

01-10-2018

Dear Patrick,

Thank you for asking this question,

My understanding here is that you should be able to put your custom action, before the copy rule. This way based on the rule order first your rule would be invoked, only after which the copy would happen.

Hope this helps, would be actually quite happy, if you could verify and confirm this behaviour.

Regards,

Peter

Highlighted

berliant

Employee

02-10-2018

It's possible to configure which properties are excluded from the rollout on the Apache Felix Web Management Console.  Go to http://<host>:<port>/system/console/configMgr/com.day.cq.wcm.msm.impl.actions.ContentUpdateActionFactory and edit Excluded Page Properties.

Highlighted

patricka5339143

02-10-2018

My solution ended up being adding my custom live action immediately after the contentCopy action. Previously I tried to apply two separate rollout configs, but when done in this way, the session will be committed in between executing the two configurations.

Thanks for the help!