ContentFolderItem

Represents a file (ContentDocument) or folder (ContentFolder) that resides in a ContentFolder in a ContentWorkspace.

Introduced in API version 35.0.

describeSObjects(), describeLayout(), query(), retrieve()

  • Type: int

  • Properties: Filter, Group, Nillable, Sort

  • Description:

    The size of the file or folder in bytes, when the size is smaller than 2 GB.

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

  • Type: long
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 66.0
  • Description: The size of the file or folder in bytes up to 10 GB.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Description: Specifies the file extension if the ContentFolderItem is a file.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Description: Specifies the type of file if the ContentFolderItem is a file.
  • Type: boolean
  • Properties: Defaulted on create, Filter, Group, Sort
  • Description: Indicates that the ContentFolderItem is a folder, and not a file.
  • Default value: false
  • Type: reference

  • Properties: Filter, Group, Nillable, Sort

  • Description:

    The ID of the ContentFolder that the ContentFolderItem resides in.

    This is a relationship field.

  • Relationship name: ParentContentFolder

  • Relationship type: relationship

  • Refers to: ContentFolder

  • Type: string
  • Properties: Filter, Group, Sort
  • Description: The name of the file or folder.