Editable template with structured content | Community
Skip to main content
Level 2
Apr 22, 2020 8:15 PM UTC
Solved

Editable template with structured content

I have created an 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)?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Apr 22, 2020 8:34 PM UTC

Hi,

/conf/ access is not required at publisher, it is access internally by script user/service.

Have you deployed/publish the content and code in publisher after changes.

Can you try with Core component project or WKND project

https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-wknd-tutorial-develop/overview.html

Arun Patidar

8 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Apr 22, 2020 8:34 PM UTC

Hi,

/conf/ access is not required at publisher, it is access internally by script user/service.

Have you deployed/publish the content and code in publisher after changes.

Can you try with Core component project or WKND project

https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-wknd-tutorial-develop/overview.html

Translate
Arun Patidar
Level 2
Apr 23, 2020 10:25 AM UTC
Thanks Arun for you quick reply. I have just tested using WKND and it worked... When I investigated the difference between my own project and the WKND project, I found this rep:policy node in the Github project https://github.com/adobe/aem-guides-wknd/blob/master/ui.content/src/main/content/jcr_root/conf/wknd/settings/wcm/templates/_rep_policy.xml. Do you agree that READ access to the /conf/../templates folder is required on publish?
Translate