---
schema_version: "1"
id: 7b6fcc764676a82c90cc55b4a4ef778e146e6f04325cb3ed5889f544263f11e6
title: ContentFolder
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_contentfolder.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentfolder.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d9131e9a616ec3223310c338af9a396ef72049a418015a7d2cf59672b9108fd3
description: Represents a folder in a content library for adding files. This object is available in API version 34.0 and later.
---
# ContentFolder

Represents a folder in a content library for adding files. This object is available in API version 34.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

- Salesforce CRM Content or Chatter must be enabled to access ContentFolder.
- All users with a content feature license can modify folders in their personal library.
- To modify a folder, the user must be a member of the library and have permission to modify folders.

## Fields

| Field Name | Details |
| --- | --- |
| Name | 
Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Name of the folder.



 |
| ParentContentFolderId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

ID of the ParentFolder.

This is a relationship field.

Relationship Name

ParentContentFolder

Relationship Type

Lookup

Refers To

ContentFolder



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[ContentFolderChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 62.0)

Change events are available for the object.