Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Best Practice for Using Template Types in AEM 6.5

sunitac93243435
Level 2
Level 2

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???

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

6 Replies
Ankur_Khare
Community Advisor
Community Advisor

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

You shouldn't have so many template types..

sunitac93243435
Level 2
Level 2

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 )??

sunitac93243435
Level 2
Level 2

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.

berliant
Employee
Employee

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

Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post