Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#envVariable.template# |
In this article, we are using the environment variable as a means to store the email template, but we can retrieve it anywhere else using other hash variables.
For example, we can store it in a specific form row (Record ID = 0) from the table named "setup". You may also want to add "noescape" so that the returned template would stay intact. (Read more about Escaping the Resultant Hash Variable). We will then use Form Binder Hash Variable to retrieve it.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#form.setup.template[0]?noescape# |
With this plugin, we can now modify the template without the need to modify each and every email tool.
The plugin is available open-source at jogetoss/email-tool-with-template.