Hello forum,
We want to sent out an e-mail marketing campaign using a custom entity for Promotional Offers related 1:n to Contacts.
On some blocks of the content, I have added custom code tile in order to perform the IF conditions in order to display or not the content depending on Contact type of Promotional Offers enrolled. If condition is fullfilled, than the related block should be displayed, otherwise it should not be displayed (in order to have one single e-mail, but with different displayed content for different contacts).
The custom code is:
<p>{{{#if (eq contact.new_angemeldetesmitgliedid 'Dynamics 365 Customer Engagement')}}<display: block>
{{else}}<display:hidden>
</display>
{{/else}}
{{/if}}
</p>
After triggering a customer journey to a sample data, the content is displayed the same regardless of the condition.
Could you please help with the solution?
Kind regards,
Jola