Expand my Community achievements bar.

SOLVED

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

Avatar

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

Avatar

Correct answer by
Employee Advisor

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

Avatar

Correct answer by
Employee Advisor

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