Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Editable template with structured content

Avatar

Level 2

I have created a editable page template under Tools > General > Templates.

On this template within the Layout Container [Root] I have added a component in Structure mode which I have populated with content. The idea is that this component populated with content will show on all pages that implement this template.

However, whilst this displays correctly in author, on publish the component does not show on the page. I have worked out that this is because the anonymous user does not have read permissions to the /conf/.../templates folder.

Am I using editable templates in the wrong way, or do I really need to give read permissions to the /conf/.../templates in publish (I am very reluctant to do so)?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You may need to publish code and template to publisher as well.

No need to set any permission, as anonymous user is part of everyone and everyone group already has read permission to cont.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

You may need to publish code and template to publisher as well.

No need to set any permission, as anonymous user is part of everyone and everyone group already has read permission to cont.



Arun Patidar