Global Variables

Global variables are available regardless of the current scope. A number of GTL-specific variables are defined as global as listed in the following table:

Name

Type

Description

ActiveModel

Object

Active model

GenOptions

struct

Gives access to user-defined generation options

PreviewMode

boolean

True if in Preview mode, false if in File Generation model

CurrentDate

String

Current system date and time formatted using local settings

CurrentUser

String

Current user login

NewUUID

String

Returns a new UUID