Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

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

Avatar

Level 4

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

Currently it gets overridden on deployment.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @chinmayis865517 , 
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-reposito...

View solution in original post

5 Replies

Avatar

Community Advisor

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

 

PallaviShukla_3007_0-1654772235161.png

 

Avatar

Correct answer by
Community Advisor

Hi @chinmayis865517 , 
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-reposito...

Avatar

Employee Advisor

Hi @chinmayis865517 ,

 

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