How to inherit editable templates into child templates? | Community
Skip to main content
vigiaemnewbie
New Participant
October 14, 2019
Solved

How to inherit editable templates into child templates?

  • October 14, 2019
  • 3 replies
  • 3373 views

Let's say I have created a configuration and editable templates for my parent site A and now I have to create editable templates for my child sites B and C. I need to inherit the various editable templates created for my parent site A into the child sites B and C and I should be able to edit these templates and provide a layout and content unique to the child sites. The following structure should roughly illustrate the idea:

  • Site A
    • Editable Template 1A
    • Editable Template 2A
    • Site B
      • Editable Template 1B which inherits 1A
      • Editable Template 2B which inherits 2A
    • Site C
      • Editable Template 1C which inherits 1A
      • Editable Template 2C which inherits 2A
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 Ankur_Khare

In Editable Template we have feature called Template type .

So in this case we can have a template type as A which could be used to create 1A, 1B, 1C templates .

In this way you need to configure common changes at template type created in step 1 and rest will inherit from there.

For more deatils refer below link-

https://stackoverflow.com/questions/39290361/template-editor-aem-not-working-as-expected/43192016

3 replies

Ankur_Khare
New Participant
October 23, 2019

is it resolved?if yes pls mark it as correct..

New Participant
October 14, 2019

AEM does not support template inheritance like other CMS systems do.

Ankur_Khare
Ankur_KhareAccepted solution
New Participant
October 14, 2019

In Editable Template we have feature called Template type .

So in this case we can have a template type as A which could be used to create 1A, 1B, 1C templates .

In this way you need to configure common changes at template type created in step 1 and rest will inherit from there.

For more deatils refer below link-

https://stackoverflow.com/questions/39290361/template-editor-aem-not-working-as-expected/43192016