Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Test Campaign Conditional Content in AEM


Level 1

We are creating templates in AEM and syncing them with Campaign.

Some templates have conditional blocks like 

Show Adobe Content

<%}else if(recipient.brand=='Facebook'){%>

Show Facebook Content


Is there a way to test these Conditional block within AEM before sending them to Adobe Campaign and previewing them via Personalization fields?


In campaign these are rendered via Javascript Server pages which is not supported in AEM.

1 Reply



@Mahedi_Sabuj @A_H_M_Imrul @Shailesh_Bassi_ @Sady_Rifat @aanchal-sikka Can you please review this unanswered question? Appreciate your thoughts on this.

Kautuk Sahni