Where do the components allowed in design mode of standard template get stored on node level? | Community
Skip to main content
Level 4
June 9, 2022
Solved

Where do the components allowed in design mode of standard template get stored on node level?

  • June 9, 2022
  • 3 replies
  • 1431 views

When a component is enabled in design modec where does it get stored in the node structure?

Currently it gets overridden on deployment.

 

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 sunil_kumar_

Hi @chinmayish , 
If you are using 6.5 and if you did not defined any design node for your project. These values must be storing under

'/libs/settings/wcm/designs/default' 
You must have created a design node your specific project under 
'/apps/settings/wcm/designs' and add this to your code base. Add this to your site using page properties. It is recommended to use design level properties under /apps/settings/wcm/designs/<your-site> as per repository happened since AEM 6.4

Check this for further documentation: 
https://experienceleague.adobe.com/docs/experience-manager-65/deploying/restructuring/sites-repository-restructuring-in-aem-6-5.html?lang=en#static-template-designs

3 replies

Pallavi_Shukla_
Community Advisor
Community Advisor
June 9, 2022

hi @chinmayish Design mode values are stored under -etc/designs/<project-folder> - Please check the package filters once.

 

 

sunil_kumar_
sunil_kumar_Accepted solution
Level 5
June 9, 2022

Hi @chinmayish , 
If you are using 6.5 and if you did not defined any design node for your project. These values must be storing under

'/libs/settings/wcm/designs/default' 
You must have created a design node your specific project under 
'/apps/settings/wcm/designs' and add this to your code base. Add this to your site using page properties. It is recommended to use design level properties under /apps/settings/wcm/designs/<your-site> as per repository happened since AEM 6.4

Check this for further documentation: 
https://experienceleague.adobe.com/docs/experience-manager-65/deploying/restructuring/sites-repository-restructuring-in-aem-6-5.html?lang=en#static-template-designs

kautuk_sahni
Community Manager
Community Manager
June 13, 2022

@sunil_kumar_ great answer!!

 

Kautuk Sahni
sunil_kumar_
Level 5
June 13, 2022

Thanks @kautuk_sahni 

milind_bachani
Adobe Employee
Adobe Employee
June 11, 2022

Hi @chinmayish ,

 

In your static templates you can define a custom designPath for each template by adding property cq:designPath to your templates.

cq:designPath="/etc/designs/myProject"


Once done, when you switch to design mode and enable the components, it gets stored in that path. Once done, you can package it and dump it in .content.xml.

You can make it part of your codebase as well by adding following in META-INF/filter.xml :

    <filter root="/etc/designs/myProject" mode="update"/>

Also, since mode is update - it will also take care of additional enabled components on the instance by authors. 

Note, you also need to give write permissions to that node.

Thanks,

Milind