Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to add new custom properties to OOTB node types?

Avatar

Level 9

Hi All,

We want to store some of the custom values to custom properties defined at OOTB types like cq:Page and cq:Tag.

Please help me in this regard.

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

this is something which is not really recommended, at last for cq:Page I haven't seen it yet. A working way would be to add a mixin type to the cq:Page node, and then define in the mixin type, which additional properties you want to have. But again, this is something not recommended, in case of cq:Page you would rather store your properties in the jcr_content node (with the primary type "cq:pageContent", which can be extended as like without dealing with mixins first).

kind regards,
Jörg

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

this is something which is not really recommended, at last for cq:Page I haven't seen it yet. A working way would be to add a mixin type to the cq:Page node, and then define in the mixin type, which additional properties you want to have. But again, this is something not recommended, in case of cq:Page you would rather store your properties in the jcr_content node (with the primary type "cq:pageContent", which can be extended as like without dealing with mixins first).

kind regards,
Jörg

Avatar

Employee

Normally you would add your custom page properties to the dialog for the page you wish to create, as these values are nearly always project specific and not system wide properties that are required. Which properties do you wish to add to cq:Page and cq:Tags?

https://helpx.adobe.com/experience-manager/kb/CQ5PageProps.html

http://experience-aem.blogspot.de/2013/09/custom-page-properties-dialog.html