The GlideGuid API provides methods to create a globally unique identifier.

You access the GlideGuidV3 methods using the g_guid global object.

GlideGuid - generate(Number stringLength)

Creates a globally unique identifier 32 characters long, or as specified with the optional length argument.

Table 1. Parameters
Name Type Description
stringLength Number The desired string length, must be between 1 and 32 inclusive. This parameter is optional. If not specified, the returned string will be 32 characters long.
Table 2. Returns
Type Description
String The globally unique identifier.