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.

FolderedContentDocument

Represents the relationship between a parent and child ContentFolderItem in a ContentWorkspace.

Supported Calls

describeSObjects()

Fields

Field Name Details
ContentDocumentId
Type
reference
Properties
Filter, Group, Sort
Description

ID of the ContentDocument that can be in a folder.

This is a relationship field.
Relationship Name
ContentDocument
Relationship Type
Lookup
Refers To
ContentDocument
ContentSize
Type
int
Properties
Filter, Group, Nillable, Sort
Description

The size of the document in bytes for files 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.

ContentSizeLong
Type
long
Properties
Filter, Group, Nillable, Sort
Description

The size of the document in bytes up to 10 GB.

This field is available in API version 66.0 and later.

FileExtension
Type
string
Properties
Filter, Group, Nillable, Sort
Description

File extension of the ContentDocument.

FileType
Type
string
Properties
Filter, Group, Nillable, Sort
Description

File type of the ContentDocument.

IsFolder
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description

Indicates that the FolderedContentDocument is a folder, rather than a file.

ParentContentFolderId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description

ID of the ContentFoldr the ContentDocument resides in.

This is a relationship field.
Relationship Name
ParentContentFolder
Relationship Type
Lookup
Refers To
ContentFolder
Title
Type
string
Properties
Filter, Group, idLookup, Sort
Description

Name of the file or folder in a ContentFolder.