allowedParents / allowedChildren restrictions just don't work for #cq5 Components. Is it for template level only?
Can you please share the example where we can use allowchildren property at component level.
Solved! Go to Solution.
template level only..
template level only..
Hi, Dev
Yes, it is for templates only.
Please read through this documentation for further details.
https://docs.adobe.com/docs/en/aem/6-2/develop/templates/page-templates-static.html
Thanks,
Vamsi
Views
Replies
Total Likes
But in Adobe docs its written for component too
https://docs.adobe.com/docs/en/cq/5-5/developing/components.html
allowedChildren | String[] | Path of a component that is allowed to be a child of this component. |
Views
Replies
Total Likes
But in adobe doc its written for component too
https://docs.adobe.com/docs/en/cq/5-5/developing/components.html
allowedChildren | String[] | Path of a component that is allowed to be a child of this component. |
(doc: Custom Node Types )
About older versions I don't know, maybe don't support this.
Also, I've tried to use these properties on AEM 6.4 project and it didn't work for components. So, maybe the documentation is wrong.
Views
Replies
Total Likes
Views
Likes
Replies