I have seen documentation that only explains allowedChildren, allowedParents, allowedPaths as properties can be set on STATIC templates. How about editable templates. Where can I add these properties? Can it be done in Touch UI?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hey @SupportMember,
I've tested this out myself, and It seems like the "allowedChildren" property is the only respected rule for editable templates, with templates that exist under the default repository structure of /conf/my-site/settings/wcm/templates/* (cq:template) nodes. Even the latest service pack 6.4.3.7, "allowedParents" and "allowedPaths" is not working as expected.
What does the "allowedChildren" property under the cq:Template node do? The value set should be the paths of a template that is allowed to be a child of this template.
If you wish to use editable templates with the "allowedChildren", follow the instructions below.
I hope this helps.
Hey @SupportMember,
I've tested this out myself, and It seems like the "allowedChildren" property is the only respected rule for editable templates, with templates that exist under the default repository structure of /conf/my-site/settings/wcm/templates/* (cq:template) nodes. Even the latest service pack 6.4.3.7, "allowedParents" and "allowedPaths" is not working as expected.
What does the "allowedChildren" property under the cq:Template node do? The value set should be the paths of a template that is allowed to be a child of this template.
If you wish to use editable templates with the "allowedChildren", follow the instructions below.
I hope this helps.
@BrianKasingli can you please try to add properties in initial instead of structure
表示
返信
いいね!の合計
Arun,
Arun, I added "allowedPaths" to the/conf/my-site/settings/wcm/templates/templateA/initial/jcr:content (cq:PageContent); does not work. allowedParents" and "allowedPaths" is not working as expected for editable templates.
表示
返信
いいね!の合計
表示
返信
いいね!の合計
Are there any updates on how to set allowedChildren for Editable Templates? Thanks.
表示
返信
いいね!の合計
Setting allowedChildren String[] property has no effect on 6.5.11.0
Hi @BrianKasingli
Thanks for your reply. I tried the following but it did not work.
For the home template in its content.xml I defined allowedChildren= "[.*/productOverview]"
For the productOverview template in its content.xml I defined allowedParent= "[.*/home]"
We run AEM 6.5.19
表示
返信
いいね!の合計