Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Template issue

Avatar

Level 8

Hi,

I have a xxx template in yyy site

I can't access the Structure mode for the Template, where it returns an undefined.

Vani1012_0-1684420797863.png

I have all the permissions for the template.can anyone help me

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @Vani1012 

 

It can be permission or some issue with the structure.

1. Please try accessing the template with admin access. See if it works.

2. If it doesn't. Try replacing the nodes in structure one by one from a template that is working. You should be able to find the issue.


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @Vani1012 ,

 

Have you tried with the admin user? 

If you are able to access with the admin user I suspect it must be the permission issue, kindly refer to the article and verify if those are at correct place: https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/templates/page-tem...

 

Hope that helps!

Regards,

Santosh

Avatar

Level 6

@Vani1012 

Can you please check if sling:resourceType property is set on jcr:content node of template structure node and if set it is pointing to correct page component?   

Avatar

Correct answer by
Community Advisor

Hello @Vani1012 

 

It can be permission or some issue with the structure.

1. Please try accessing the template with admin access. See if it works.

2. If it doesn't. Try replacing the nodes in structure one by one from a template that is working. You should be able to find the issue.


Aanchal Sikka