AEM Templates (Editable & Static) Questions:
-
What is Template in AEM?
-
In AEM, a template is a blueprint or a predefined structure that defines the layout and design of a page or set of pages. We have two different types of templates are available in AEM, they are Editable Template and Static Template
-
-
Static Template V/S Editable Template
-
Static Template:
→ Development involved, only developer can create/modify template.
→ Developer adds components which are available on resulting pages after page creation.
→ These components can be removed from pages.
→ Theres is a static relation between Template and Pages.
→ Any update to template will not reflect on already created pages. Changes will only be available for new pages.
→ Static templates use design node to store template level properties and other configurations.
-
Editable Template:
→ Development phase not involved. Template authors create / update templates.
→ Template authors can add components to template which available on resulting pages after page creation.
→ These components can or can’t be removed from pages.
→ There is a dynamic relation between Templates and Pages.
→ Any update to templates will reflect on already created pages as well on new pages.
→ Editable Template policies to store template level configuration.
-