Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Live copy on page with unique ID

Avatar

Avatar
Validate 1
Level 1
patricka5339143
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
patricka5339143
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
patricka5339143
Level 1

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

Avatar

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct Reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct Reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile
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

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
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.

Avatar

Avatar
Validate 1
Level 1
patricka5339143
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
patricka5339143
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
patricka5339143
Level 1

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!