Allowed components in design mode 6.5 for static template | Community
Skip to main content
arturl43391132
Level 4
December 1, 2020
Solved

Allowed components in design mode 6.5 for static template

  • December 1, 2020
  • 2 replies
  • 5862 views

Hello AEM Community,

We have the problem which I can't understand fully:

Was in 6.3:
When we were working on AEM 6.3, we were using 2 static templates where some components were allowed:

And it was working good.

 

Now in 6.5:
According to repository restructure we moved  /etc/designs/default to /apps/settings/wcm/designs/default. 
As a result the pages created by these templates don't see this path in design mode - /apps/settings/wcm/designs/default. Every change is saved under /libs/settings/wcm/designs/default.
But if we return our templated under path - /etc/designs/default, everything works good.
So questions are: is it expected behaviour or something is wrong? Which path for static templates should be used: /apps/settings/wcm/designs/default or /etc/designs/default?

Thanks.

 

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

Hi @arturl43391132,

 

The static template designs are stored in "/etc/designs/<my-site>/jcr:content/<page-component-name>/<component-name>". Please check the property "cq:designPath" in your templates. It tells you everything.

 

Article: https://blogs.perficient.com/2017/07/24/static-or-editable-template-an-in-depth-comparison-and-guide/

 

Thanks,

Kiran Vedantam.

2 replies

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
December 1, 2020

Hi @arturl43391132,

 

The static template designs are stored in "/etc/designs/<my-site>/jcr:content/<page-component-name>/<component-name>". Please check the property "cq:designPath" in your templates. It tells you everything.

 

Article: https://blogs.perficient.com/2017/07/24/static-or-editable-template-an-in-depth-comparison-and-guide/

 

Thanks,

Kiran Vedantam.

arturl43391132
Level 4
December 1, 2020

Hi @kiran_vedantam,
Thank you very much for the answer.

For some reason we don't have "cq:designPath" in our templates.

But it seems that anyway it goes to /etc/designs by default.

Thanks, your answer is very useful.

Adobe Employee
December 1, 2020

Did you update cq:designPath property on your pages?
It should point to your real design location, e.g. /apps/settings/wcm/designs/default.

arturl43391132
Level 4
December 9, 2020
Hi @mariia_lukianets. Thanks for your answer. Of course we updated cq:designPath-s of our pages, but they have value - /apps/settings/wcm/designs/{projectName}. Under default node we have just 2 nodes which allows 2 components for 2 templates.