Is it possible to store cq:designPath property in a folder and get it for all the pages under that folder
Solved! Go to Solution.
Views
Replies
Total Likes
That is not true. I'm not talking about duplicating the page component, i'm talking about creating another template node under "apps/<project>/templates.
The "jcr:content" node for the template contains the cq:designPath, so simply copy an existing template and change the name and cq:designPath. You now have a template for that design.
Views
Replies
Total Likes
Can you be more specific to your use case and why you want to achieve this...
Views
Replies
Total Likes
We have already created folder and want to use common etc design path for all the pages under that folder. Dont want to configure design path for each and every page
Views
Replies
Total Likes
When you create project in AEM there is no need to configure design path for each page
How are you creating project?
Views
Replies
Total Likes
We use same template for different projects, hence need respective etc design path
Views
Replies
Total Likes
This isn't something that is supported.
Can you not create a new page template for each design?
Views
Replies
Total Likes
If we create another template then we are repeating same code again. We simply want to reuse the same template for all projects. Need some control to store project specific data
Views
Replies
Total Likes
That is not true. I'm not talking about duplicating the page component, i'm talking about creating another template node under "apps/<project>/templates.
The "jcr:content" node for the template contains the cq:designPath, so simply copy an existing template and change the name and cq:designPath. You now have a template for that design.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies