templates and components issue while upgrade from AEM 6.1 to 6.5 | Community
Skip to main content
Level 2
March 25, 2021

templates and components issue while upgrade from AEM 6.1 to 6.5

  • March 25, 2021
  • 1 reply
  • 3524 views

Hi every one

I have doing a project migrate a content from AEM 6.1 to 6.5.  According to best practice we have moved the libraries from etc to apps, but we meet some issue, we cannot find the templates created at 6.1, and we and cannot find the component when edit the old content page at edit mode. 

any one meet this issue?

thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Asutosh_Jena_
Community Advisor
Community Advisor
March 25, 2021
Asutosh_Jena_
Community Advisor
Community Advisor
March 25, 2021

@josieqqiu I see the allowedPath property is set to 

allowedPaths="[/content/xxx/abc(/.*)?]" which will allow the template to be available only under /content/xxx/abc.

It is better to use the cq:allowedTemplates property which can be added directly on the root page jcr:content node under which you wanto your template to be available or you can open the root page and go to the page properties section under "Advanced" tab you will find the Template setting where you can allow the static template to be available. Just configure the path of your template from apps folder and it will appear in the page creation wizard.

 

 

https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/templates/page-templates-static.html?lang=en#platform

 

Thanks!

 

josieqqiuAuthor
Level 2
March 25, 2021

@josieqqiu You welcome! 🙂


@asutosh_j3 components still cannot seach at contentpage, can you help to see it? so kindly of you!