Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

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

Avatar

Level 5

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".

4 Replies

Avatar

Community Advisor

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



Arun Patidar

Avatar

Level 5

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

Level 5

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.