You can add, edit or test an email template using the template toolbar toolbar (), or navigate to the /comms/templates URL to access all the email templates.
...
The template editor is opened when you select 'add' or 'edit a ' on an existing template. The following information is required to complete a template.:
- The name of the template - it must be unique amongst all the templates for the same application;
- The name of the application to which the template belongs . The - the application cannot be changed for saved templates;
- The type of templates:
- Default - this type of template is editable using the HTML editor. It supports simple data binding using {xxx} syntax;
- Razor - select this template type to create templates that require programming logic to generate output. This type of templates must conform to the Microsft Razor page syntax. The reference of the razor syntax can be found here: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-3.0
...
A template can accept data input and use data binding to produce dynamic outputoutputs. However, the structure and fields of the input data depend on the application of the template. You can use the following steps to discover the full data set available for the applicable operation:
...