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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Is it advisable to have one dynamic template for one promotion (Number of promotions upto 100)?

ravi_shankerj14
Level 2
Level 2

Hi There,

 

I need your advise to follow best practices in AEM project. We have a requirement where we need to create microsites for promotions and each promotion will require a site configuration page and we are planning to use dynamic template to play a role of microsite configuration. So in this case suppose if we have 100 promotions over a year we need to create 100 dynamic templates. I want to know whether this number of dynamic template creation is advisable or not in AEM 6.5. 

 

Thanks,

Ravi

1 Accepted Solution
jbrar
Correct answer by
Employee
Employee

There is no limit on the number of templates but it will be cumbersome to manage 100 templates.

 

That said, I would recommend finding the components/widgets that remain the same across templates and the ones that change. Then create a master template with some dynamic components that can be changed as per the site requirement. In other words, Have components that change based on the site instead of template.

 

EX: Keep the footer and header as static component for all templates and choose other components as Dynamic

View solution in original post

1 Reply
jbrar
Correct answer by
Employee
Employee

There is no limit on the number of templates but it will be cumbersome to manage 100 templates.

 

That said, I would recommend finding the components/widgets that remain the same across templates and the ones that change. Then create a master template with some dynamic components that can be changed as per the site requirement. In other words, Have components that change based on the site instead of template.

 

EX: Keep the footer and header as static component for all templates and choose other components as Dynamic

View solution in original post