Forum Discussion
Fellsteruk
12 years agoBoss
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
- 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.
- Fellsteruk12 years agoBossI stand correct, thanks for the correction :)
- dhiraj_gophane12 years agoLeaderGuys,
can I do rest api call in Email template?
or can I call any community endpoint in email template code?