User reads an email subscription message body, which prevents them from checking out the actual thread. Negatives: metrics don't count, formatting (e.g., strikethroughs) don't show, etc.
Desire: Truncate message body w/ ellipsis.
"A flux capacitor will help by eliminating the rotary sonar eff... [continue reading]"
I'll be honest I haven't worked on email templates, we had an agency overhaul them for various reasons. There is however a truncate option for Freemarker I've used in a number of components. If the body is added in as a ${} variable it might work.
Hi Keith, as you discovered, the "?truncate" syntax is for Apache FreeMarker, while email templates utilize Apache Velocity 1.5. In the Marketo community thread, they referred to a couple of variables:
$String: They were using this to refer to a StringUtils object.
Using utilities/tools like these would require that they have been placed on the context by the environment (the community application). Unfortunately Khoros does not provide access to these or other utilities.
So you would need to find a way to do this yourself using conditional logic and the methods provided on the String itself. Here is the source code for those two utilities, which you could try to emulate:
Broadly, any implementation would need to use the "length" method (to determine whether to truncate) and then conditionally use the "substring" method, plus some concatenation.