Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

overlay/override rep:AccessControllable node type from libs to apps

Avatar

Level 2

Hi All,

I am having the use case where I have to overlay/override below Node from libs to apps:

/libs/cq/core/content/projects/properties/jcr:content/content/items/form/items/columns/items/column1/items/cover

but Node is of type " granite:InternalArea" .

Would like to know the best practice to overlay/override such nodes.

Node structure :

karuna_0-1665281616745.png

 

Thanks!

3 Replies

Avatar

Community Advisor

I don't see the type as "rep:AccessControllable". However, you can still overlay or override it without any issues.

I would suggest overriding it with sling resource super type.

 

Avatar

Level 2

Thanks for your response but this is not working.

I initially tried this solution by simply overriding but if you see the hierarchy which needs to be overridden is of type "cq:page"

Generally in case of "Page Properties" this rule works but here it's not working.

And I want to override node name "Column 1" .

It's breaking the page itself if I am overriding the properties because it is of type "granite:InternalArea"

 

karuna_0-1665684827202.png

 

Avatar

Level 2

Edited the main problem from "rep:AccessControllable" to "granite:InternalArea"