OwnedContentDocument

Represents a file owned by a user. This object is available in version 30.0 and later.

Introduced in API version 30.0.

describeSObjects()

  • Type: reference

  • Properties: Filter, Group, Nillable, Sort

  • Description:

    ID of the document.

    This is a relationship field.

  • Relationship name: ContentDocument

  • Relationship type: relationship

  • Refers to: ContentDocument

  • Type: int

  • Properties: Filter, Group, Nillable, Sort

  • Description:

    The size of the document in bytes for documents smaller than 2 GB.

    In API version 66.0 and later, we recommend that you use the ContentSizeLong field even for documents smaller than 2 GB.

  • Type: long
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 66.0
  • Description: The size of the document in bytes up to 10 GB.
  • Type: url
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 31.0
  • Description: URL for links and Google Docs. This field is set only for links and Google Docs, and is one of the fields that determine the FileType.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 32.0
  • Description: The name of the external data source in which the document is stored. This field is set only for external documents that are connected to Salesforce.
  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Introduced: API version 35.0
  • Description: Type of external data source in which the document is stored. This field is set only for external documents that are connected to Salesforce.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 31.0
  • Description: File extension of the document.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Description: Type of document, which is determined by the file extension.
  • Type: string
  • Properties: Filter, Group, idLookup, Sort
  • Description: Title of the document.