Skip to main content


Work with Studio projects programmatically (export, compile, copy, delete, and so on).

Background Information

A project is a named set of class definitions, routines, include files, and other Studio items. You typically create, compile, and export projects in Studio; see Using Studio.

Available Tools

Provides the following methods that you can use with projects:

  • CompileProject()

  • DeleteProject()

  • Export()

  • ExportToStream()

Availability: All namespaces.

Represents the project information used by the class compiler. This class provides methods such as the following:

  • Compile()

  • CreateClone()

  • DeleteItem()

  • Deploy()

  • Export()

  • And others

It also provides class queries, including:

  • ProjectItemsList()

  • ProjectList()

  • And others

Availability: All namespaces.


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

FeedbackOpens in a new tab