When a component is enabled in design modec where does it get stored in the node structure?
Currently it gets overridden on deployment.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
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...
hi @chinmayis865517 Design mode values are stored under -etc/designs/<project-folder> - Please check the package filters once.
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...
Views
Replies
Total Likes
Thanks @kautuk_sahni
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