2022.1

Table Of Contents
l
Click the Set Values button ( ) and edit the JSON. Note that this method cannot be
used to change the name of a runtime parameter. You can only change the values and
add new runtime parameters this way.
If the Data Model contains a JSON Record Data List (see "A JSON Record Data List" on
page1034), you could edit the runtime parameters by adding or editing the parameters object
using the "JSON sample data dialog" on page1031.
Accessing runtime parameters
Runtime parameters in a template are accessible in scripts, via merge.template.parameters.
(See "Standard Script API" on page1343.)
The merge.template object has a parameters array that allows to access the template's runtime
parameters. (See: "template" on page1497.) The script can read and could also change the
values. Note however that any runtime parameter's value will be reset with each new record
that the template is being merged with.
Contexts
Contexts are parts of a template that are each used to generate a specific type of output:
Web,Email or Print.
l The Print context outputs documents to either a physical printer or a PDF file; see "Print
context" on page513.
l The Email context outputs HTML email, composed of HTML code with embedded CSS.
See "Email context" on page556.
l The Web context outputs an HTML web page. See "Web Context" on page578.
When a new template is made, the Context appropriate to that new template is automatically
created, including one section. After a template has been created, the other two contexts can be
added to it; see "Adding a context" on the next page.
Tip
When you add an Email context to an existing template you get a 'basic action email'.
This is one of the 4 types of email that you can choose from when you start a template
Page 498