---
schema_version: "1"
id: 62f24b72660c41a36745fb1e12d7dc28f0dae0b6ebf11f5863042921311d6351
title: FolderedContentDocument
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_folderedcontentdocument.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_folderedcontentdocument.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d6158dac442c1717c40276161354ba6dab0125c4f7de7e9ee5be2cfa0762588b
description: Represents the relationship between a parent and child ContentFolderItem in a ContentWorkspace.
---
# 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.





 |