ContextDefinitionVersion

Represents information about the context definition version. Only one version can be active at a time. This object is available in API version 59.0 and later.

Supported SOAP API Calls 

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Supported REST API Methods 

DELETE, GET, HEAD, PATCH, POST, Query

Fields 

ContextDefinitionId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The context definition record associated with the context definition version.

    This field is a relationship field.

  • Relationship Name: ContextDefinition

  • Relationship Type: Lookup

  • Refers To: ContextDefinition

EndDate 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when the context definition version becomes inactive.

InheritedApexVersion 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The version of the Apex class generated from the context definition version. It is null when no Apex class is generated, 0.0 when an Apex class is generated for a custom definition, and equal to the value in InheritedVersionNumber when an Apex class is generated from an extended definition.

IsActive 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the context definition version is active (true) or not (false).
  • Default value: false

ManageableState 

  • Type: picklist

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Description: Indicates the manageable state of the specified component that is contained in a package.

  • Possible values:

    • beta—Managed-Beta
    • deleted—Managed-Proposed-Deleted
    • deprecated—Managed-Proposed-Deprecated
    • deprecatedEditable—SecondGen-Installed-Deprecated
    • installed—Managed-Installed
    • installedEditable—SecondGen-Installed-Editable
    • released—Managed-Released
    • unmanaged—Unmanaged

StartDate 

  • Type: dateTime
  • Properties: Create, Filter, Sort, Update
  • Description: The date and time when the context definition version becomes active.

VersionNumber 

  • Type: int
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The context definition version number.