Conditional blocks

Milan_Vucetic

MVP

20-07-2020

Hi all,

 

recently on Adobe Campaign we synchronized an AEM template which had around 100 conditional blocks (if statements) which caused Adobe Console to crash. Point was that template have different content per customer tariff plan (100 different tariff plans) and Adobe Campaign will send specific content according to tariff plan. 
As this template is really huge and from AC perspective "non-sense" I would like to hear is there a better way to solve this kind of issue on AEM? Can we avoid to many IF statements or pick some other approach which can handle this use case but from AEM side?

 

Regards,

Milan

View Entire Topic

Ankur_Khare

MVP

23-07-2020

Can't we have separate template for each usecase?

Or if we need to use one template only in if statements can't we reference content from separate pages?

 

These are two ways i can think of reducing content in one template