Message Center Conditional Formatting - Campaign V8
Hello,
Is it possible to use conditional HTML formatting in a Transactional Email Template based off of an RT event value?
I've been testing with something basic like this:
<% if ( <%= rtEvent.ctx.email.@type %> == 'Order' ) { %>Your Order is en route<% } %><% else { %>Your Order is delayed<% } %>
I'm testing based on proofs with a seed address that has the following two CTX values:
<ctx>
<email location="somewhere" type="Order"/>
</ctx>
When I analyze a proof to send, it shows an error around htmlContent -- so I'm wondering if this is just not available functionality in message center. But maybe (hopefully), I'm just doing something wrong.
What do you think?
Thanks!