---
schema_version: "1"
id: 1f932fc281038150690d3fada2a88d144479062d48383b960677ae4423e07f13
title: ManagedContent
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_managedcontent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_managedcontent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: dd21ce3e065320d586f3be2c85485d9bd14c948988297ad59138856d85c49e55
description: Represents managed content in a Salesforce CMS workspace for use in an Experience Cloud site or a channel. The ManagedContent object represents the complete instance of a managed content record. It provides a consistent identifier for the managed content so that variants of the content item can be created over time. This object is available in API version 56.0 and later.
---
# ManagedContent

Represents managed content in a Salesforce CMS workspace for use in an Experience Cloud site or a channel. The ManagedContent object represents the complete instance of a managed content record. It provides a consistent identifier for the managed content so that variants of the content item can be created over time. This object is available in API version 56.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

ManagedContent is available when the Digital Experiences app is enabled.

## Fields

| Field | Details |
| --- | --- |
| ApiName | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

The unique API name of the Salesforce CMS content. Name requirements:

- must be 80 characters or fewer
- must begin with a letter
- can contain only underscores and alphanumeric characters
- can't include spaces
- can't end with an underscore
- can't contain two consecutive underscores

This field is available in API version 62.0 and later.





 |
| AuthoredManagedContentSpaceId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The Salesforce CMS workspace ID where the content resides.

This field is a relationship field.

Relationship Name

AuthoredManagedContentSpace

Relationship Type

Lookup

Refers To

ManagedContentSpace



 |
| ContentKey | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

Unique identifier of the content.



 |
| ContentTypeFullyQualifiedName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The fully qualified name of the content type of this CMS content. In an enhanced CMS workspace, the ContentTypeFullyQualifiedName for each standard content type is:

- News: sfdc\_cms\_\_news
- Image: sfdc\_cms\_\_image
- Document: sfdc\_cms\_\_document

In a CMS workspace, the ContentTypeFullyQualifiedName for each standard content type is:

- News: news
- Image: cms\_image
- Document: cms\_document

In both CMS workspaces and enhanced CMS workspaces, the ContentTypeFullyQualifiedName for a custom content type is the same as the developer name of the custom content type.

This field is available in API version 62.0 and later.





 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The name of the Salesforce CMS content. When you view this content in a CMS workspace, Name is the title of the latest content version. In an enhanced CMS workspace, Name is the title of the content in the workspace’s default language.

This field is available in API version 58.0 and later.



 |
| PrimaryLanguage | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The default language of the Salesforce CMS workspace where the content resides.



 |

## Usage

When you create or add content in a Salesforce CMS workspace, the content is uniquely identified by the Salesforce CMS workspace, a content key, and a default language. ManagedContent can be queried through the public sObject API. Use this object to create and retrieve information for a specific managed content.

## 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.

[ManagedContentChangeEvent](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.