Newer Version Available

This content describes an older version of this product. View Latest

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