WEMScript for Custom HTML
The WEM-Specific script language in the Interaction Template Editor
<? if some expression then ?>
<div style="background-color: <?attr [CalculatedColorField] ?>;">
<?= [data_field] ?>
</div>
<? else ?>
<span style="background-color: <?attr [CalculatedColorField] ?>;">
<?= [other_data_field] ?>
</span>
<? end ?>Last updated
Was this helpful?