Forum Discussion
keithkelly
7 months agoLeader
Update: I'm chickening out.
From what I've gathered in the past 30 mins....
- This seems impossible.
- ?truncate(16) doesn't work. (rec'd below error when sending test email... then when triggering an actual email, the email was never sent/received.)
- Email templates don't use FreeMarker; they use Apache Velocity. While the documentation below the email editor says this, I didn't read it.
- Adobe's Marketo community gave me hope with .truncate:
$display.truncate($id,15,"")
- But, it was in vain, as any combination of
${display.truncate($notification.HTMLBody,15)}
or
$display.truncate($notification.HTMLBody,15)
- just showed that exact string in the email, like
- While perhaps I'm formatting it wrong, I'm losing hope and need to move on to other things.
If anybody knows Velocity and can verify if this is possible or not, please chime in!
PS: Here's the error I received when trying ?truncate(16) & clicking the "Send email to self" button.
Related Content
- 5 years ago
- 4 years ago