2020.2

Table Of Contents
To add a parameter, start by opening the template to which the parameter should be added.
Make sure the template is visible in the workspace; then open the Parameters pane.
Note
Runtime parameters are always added to the file currently visible in the workspace.
To add a single parameter:
1.
Click the Add button ( ).
2.
Give the parameter a name.
3.
Select the data type. This impacts the way the data can be handled in a script; for
example, if a parameter's type is Number, its value can be used directly in calculations,
without having to parse it first.
In the Parameters pane, the type of a runtime parameter can be recognized by its icon.
4.
Optionally, set a default value. This value is overwritten by the actual value coming from
the automation tool, e.g. one of the Content Creation tasks in PlanetPress Workflow.
In order to test a template you may want to add values as well. For instructions, see
below.
5.
Click OK.
To add multiple parameters or to set values:
1.
Click the Set Values button ( ). This opens the Set Values dialog which allows to load
JSON data.
Any previously defined runtime parameters are displayed in the dialog as a JSON object.
Parameter names appear as keys; default values appear as values.
2. Either browse to the location of a JSON file and select it, or paste/write/edit the JSON
directly in the box below the File field.
Note that JSON arrays are not supported.
3.
Click OK. The keys of the JSON object appear in the Name column, the values in the
Value column.
4. For new parameters an attempt is made to derive the data type from the value, but this is
only possible to a limited extent. Double-click any new parameter to set its desired data
type.
Page 446