Common Document/Notification Template Merge Field List

Common Document/Notification Template Merge Field List

Document and Notification Templates make available a common set of merge fields that can be merged into a template.

This table lists all of the standard notification template fields for view-based data sources. The loop icon image-20240808-140630.png indicates that the insertable field is a group that contains multiple fields within it; in such cases, the group field will require a loop to display the data in the included fields. For more information, see Using Loops in Document Templates.

*Note- the info above is static and may become outdated over time. For most current info on fields available in each data source:

Common Merge Fields

All document and notification data sources allow for the insertion of the following standard set of fields:

currentUser Merge Fields

NOTE: Do not use currentUser merge fields for notification templates. They are currently only active for document templates.

Insertable Field Name

Description

Insertable Field Name

Description

id

Current user's internal user identifier (not recommended to be used).

defaultDistrict

Current user's default district name, as specified by an administrator.

defaultProgram

Current user's default program area, as specified by an administrator.

displayName

Current user's full name as shown for display.

email

Current user's email address.

firstName

Current user's first name.

lastName

Current user's last name.

phone

Current user's phone number.

phoneExt

Current user's phone number extension.

title

Current user's title.

environmentSettings Merge Fields

Insertable Field Name

Description

Insertable Field Name

Description

agencyAcronym

The agency initials.

agencyFullName

Full name of the agency.

applicationUrl

The full URL to the application. For environments where there exist separate web sites for internal and external users, the correct URL will be returned depending on whether the user (that is, the user generating the document for document templates, or receiving the email for notification templates) is an internal or external account holder. 

isProduction

Indicates whether or not the document/notification is being generated from a test or production instance of the system.

productName

The name given to the nVIRO system by the agency (e.g., "ePermitting").

customVariables Merge Fields

Custom variables allow for creating common values that are available for use in any template. For example, a Agency Director Name custom variable could be created that can be updated whenever the agency director changes. Custom variables are defined under Admin → Lookups → Custom Variables.