Forum Discussion
7 Replies
Hi
The email templates use freemarker <<EDIT: They actually use Velocity >> so you are limited to what you can do however i wont claim to know too much about it because i dont :) other than everytime i play with my email templates i break them.
There are a lot of TKB and user content on here, just found this but may be a bit bsic for what you're after...
http://community.lithium.com/t5/Developers-Knowledge-Base/Email-template-context-objects/ta-p/75924
Thanks
Sign in to react to this post- HaidongG12 years agoLithium Alumni (Retired)in additional to what Fellsteruk has mentioned: you may use JavaScript with normal HTML in email body, but most of email server will block JavaScript in email body.Sign in to react to this post
- ChiaraS12 years agoLithium Alumni (Retired)
Note that as stated in the TKB article linked above, email templates don't use Freemarker but Velocity instead. You should be able to use the context objects listed on the page as long the velocity syntax is correct.
Sign in to react to this post - I stand correct, thanks for the correction :)Sign in to react to this post
- Guys,
can I do rest api call in Email template?
or can I call any community endpoint in email template code?Sign in to react to this post - phani12 years agoAdvisor
Hi,
How to get the login user role information in Email Template?
Sign in to react to this post - HaidongG12 years agoLithium Alumni (Retired)Sign in to react to this post