Best Practice for Using Template Types in AEM 6.5 | Community
Skip to main content
Level 2
November 27, 2019
Solved

Best Practice for Using Template Types in AEM 6.5

  • November 27, 2019
  • 6 replies
  • 5802 views

Dear All,

I have an requirement where I need to convert my all Static templates to Editable Templates.

Currently we have 11 static templates in existing AEM application.

So we are planning to convert 11 static templates to 11 Editable template Types ( NOTE THAT , not templates)

Is it a best practice to create multiple template types ??

Anybody can provide me the Adobe help document for the creating multiple Template Types???

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 arunpatidar

Hi,

You don't need to create 11 template type for 11 static templates until you have different page components for all 11.

In a simple word -

The template type is changed by the developer.

templates from template type can be created by template authors.

If you have the same page component for all the templates and with different or same initial content then you can achieve this by 1-page template.

check - AEM Developer Learning : Dynamic (Editable) Templates in AEM 6.3 : Part-1

6 replies

Ankur_Khare
Community Advisor
Community Advisor
November 27, 2019

Why do you want to convert static templates to template types...

You shouldn't have so many template types..

Level 2
November 27, 2019

Thanks ka for your quick response. Yes , I am aware that we should not use so many template types. But I am not finding any best practice documents related to this.

Can you/somebody please provide me the best practice document for this "or" where can I get in Adobe Help Center  (Adobe Help Center )??

Adobe Employee
November 27, 2019
Level 2
November 28, 2019

Dear berliant,

I am following below link only for converting static to editable templates. But here my question is related to the best practice document for creating multiple template types.

Experience League Intelligent Guidance | Adobe

Can you please provide me the same.

Adobe Employee
November 28, 2019

There is nothing wrong with creating multiple templates, the number of templates should be driven by your business requirements.

Have you seeing WKND project: Getting Started with AEM Sites Chapter 2 - Creating a Base Page and Template 

In chapter 2 it covers two templates creation

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 30, 2019

Hi,

You don't need to create 11 template type for 11 static templates until you have different page components for all 11.

In a simple word -

The template type is changed by the developer.

templates from template type can be created by template authors.

If you have the same page component for all the templates and with different or same initial content then you can achieve this by 1-page template.

check - AEM Developer Learning : Dynamic (Editable) Templates in AEM 6.3 : Part-1

Arun Patidar