Skip to main content

GUIDs (Globally Unique Identifiers) (Tools/APIs)

Work with GUIDs (Globally Unique Identifiers).

Background Information

A GUID (globally unique identifier) is a unique reference number used as an identifier.

Available Tools

GUIDENABLED class parameter

Enables you to generate a GUID for each instance of the class. See Object Synchronization.

This class is a persistent class that gives you access to GUID,OID value pairs. This class can be queried using SQL. This class presents examples.

Availability: All namespaces.

Provides utility methods for GUIDs. These include:

  • %FindGUID()

  • AssignGUID()

  • And others

Availability: All namespaces.

Includes the following method:

  • CreateGUID()

Availability: All namespaces.


The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().

FeedbackOpens in a new tab