Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Considerations for CRUD Operations in Active Orgs

CRUD operations on most Tooling API objects are allowed in active orgs in API version 41.0 and later, just as they are in other kinds of orgs. However, for performance reasons you can’t perform CRUD operations in an active org for some Tooling API objects.

CRUD operations on the following Tooling API objects in an active org generate the error Save or update not supported in active organizations.

  • ApexClass
  • ApexComponent
  • ApexPage
  • ApexTrigger
  • CustomField
  • CustomObject