Default values for parameters

You can add default values to the parameters in a Document Template with the DEFAULT keyword. The system uses the default value when the Document Template does not provide a value for the parameter. This happens if the list of parameters is extended after the Document Template was created or when the Document Template developer does not provide values for optional parameters.

Default values are only allowed for parameters of the types TEXT, NUMBER, BOOL, and DATE.

PARAMETER TYPE Name_of_parameter DEFAULT "default_value"

An example is provided here.

PARAMETER TEXT Sender
    DESCRIPTION "The name of the sender of this document"
    EXTENSION
    DEFAULT "Director "J. Doe"
PARAMETER NUMBER Identifier
    DEFAULT "123456789"

Invalid DEFAULT values are not verified and appear in the result document as they are.