Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Document Templates and Notification Templates make available a standard set of datasources used to select and insert merge fields into a template. The standard datasources are listed below.

This table lists all of the standard notification template fields for view-based data sources. The loop icon 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.

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 NameDescription
idCurrent user's internal user identifier (not recommended to be used).
defaultDistrictCurrent user's default district name, as specified by an administrator.
defaultProgramCurrent user's default program area, as specified by an administrator.
displayNameCurrent user's full name as shown for display.
emailCurrent user's email address.
firstNameCurrent user's first name.
lastNameCurrent user's last name.
phone

Current user's phone number.

phoneExtCurrent user's phone number extension.
titleCurrent user's title.

environmentSettings Merge Fields

Insertable Field NameDescription
agencyAcronymThe agency initials.
agencyFullNameFull name of the agency.
applicationUrlThe 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. 
isProductionIndicates whether or not the document/notification is being generated from a test or production instance of the system.
productNameThe name given to the nVIRO system by the agency (e.g., "ePermitting").
  • No labels