---
schema_version: "1"
id: 5cbeb9d18fbb278956637cd7019a5c50f2fb300b65f11e162cc48a46528fc0d1
title: ContentFolderLink
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_contentfolderlink.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentfolderlink.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7663a69686a3de51e2efd3ca879845f04a6208b6affa7abd4221901b31f778c0
description: Defines the association between a library and its root folder. This object is available in API version 34.0 and later.
---
# ContentFolderLink

Defines the association between a library and its root folder. This object is available in API version 34.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

- Salesforce CRM Content must be enabled to access ContentFolderLink.
- ContentFolderLink is read-only in the context of a library.

## Fields

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

reference

Properties

Filter, Group, Sort

Description

ID of the folder.

This is a relationship field.

Relationship Name

ContentFolder

Relationship Type

Lookup

Refers To

ContentFolder



 |
| EnableFolderStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Indicates the status of enabling folders for the library. Valid values are:

- C — Completed folder enablement
- S — Started folder enablement
- F — Failed folder enablement

This field is available in API version 39.0 and later.



 |
| ParentEntityId | 

Type

reference

Properties

Filter, Group, Sort

Description

Name of the entity the folder hierarchy is linked to.



 |