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

How to set OPV(on-parent-version status) for a property?

Avatar

Avatar
Give Back 10
Level 3
poojac35931336
Level 3

Likes

20 likes

Total Posts

50 posts

Correct Reply

8 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 10
Level 3
poojac35931336
Level 3

Likes

20 likes

Total Posts

50 posts

Correct Reply

8 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
poojac35931336
Level 3

03-09-2018

Is there any way to set OPV for a property to be added on cq:PageContent node. By default it is "COPY", as mentioned below :

1563258_pastedImage_0.png

I  want to set it as "IGNORE".

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,228 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,228 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

03-09-2018

Hi,

I am not sure why you are doing this and what will be  the impact if you'll change this but node types are define in cnd files. For PageContent you need to update /libs/cq/commons/nodetypes/core.cnd

for reference you can check /libs/cq/core/nodetypes/replication.cnd

Avatar

Avatar
Give Back 10
Level 3
poojac35931336
Level 3

Likes

20 likes

Total Posts

50 posts

Correct Reply

8 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 10
Level 3
poojac35931336
Level 3

Likes

20 likes

Total Posts

50 posts

Correct Reply

8 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
poojac35931336
Level 3

03-09-2018

My use case is to add some properties on cq:PageContent that can't get copies when someone copy the page from site admin.

I added that property with OPV "IGNORE" for this node type programmatically, but it's not seem to be working. After coping the page I can see the property is still getting copied.

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,228 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,228 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

04-09-2018

Hi,

You probably need to do it by package manager.

Custom Node Type not being added with .cnd file

if doesn't work check CQ doesn't pick up nodetypes.cnd changes using Package Manager

Avatar

Avatar
Give Back 10
Level 3
poojac35931336
Level 3

Likes

20 likes

Total Posts

50 posts

Correct Reply

8 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 10
Level 3
poojac35931336
Level 3

Likes

20 likes

Total Posts

50 posts

Correct Reply

8 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
poojac35931336
Level 3

04-09-2018

I am able to add the property in crx explorer for cq:PageContent. Problem is that even after adding the property with OPV "IGNORE", it's getting copied.