Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
leeaslingAccepted solution
Level 8
Jan 15, 2016 7:49 PM UTC

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.

7 replies

edubey
Level 10
Jan 15, 2016 5:15 PM UTC

Can you be more specific to your use case and why you want to achieve this...

Translate
selvaganesh
Level 5
Jan 15, 2016 5:19 PM UTC

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

Translate
edubey
Level 10
Jan 15, 2016 5:34 PM UTC

When you create project in AEM there is no need to configure design path for each page

How are you creating project?

Translate
selvaganesh
Level 5
Jan 15, 2016 6:51 PM UTC

We use same template for different projects, hence need respective etc design path

Translate
Level 8
Jan 15, 2016 7:41 PM UTC

This isn't something that is supported.

Can you not create a new page template for each design?

Translate
selvaganesh
Level 5
Jan 15, 2016 7:45 PM UTC

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

Translate
leeaslingAccepted solution
Level 8
Jan 15, 2016 7:49 PM UTC

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.

Translate