FW.notifyWithTemplate <deprecated>
FW.notifyWithTemplate(who, subject, templateId, params)
Last updated
Was this helpful?
FW.notifyWithTemplate(who, subject, templateId, params)
Last updated
Was this helpful?
The purpose of this is to reference the body from a complex html file that will be customized with parameters.
Same as FW.notify
but the body of the message is created from the template that is passed as parameter.
A template is a document (in your admin page the docs
models). The document file is a text file that will be a html format.
templateId
has to be a number (not a string) to be considered as a reference to a template.
params
is a javascript object that contains all the data used by the template. This object is referenced using the groovy language ()
with template#48017774 is