Is it advisable to have one dynamic template for one promotion (Number of promotions upto 100)? | Community
Skip to main content
Level 2
April 23, 2021
Solved

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

  • April 23, 2021
  • 1 reply
  • 688 views

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

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 user05162

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

1 reply

user05162Adobe EmployeeAccepted solution
Adobe Employee
April 23, 2021

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