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.
Introduced in API version 55.0.
describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
ManagedContentis available when the Digital Experiences app is enabled.
-
Type: string
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 62.0
-
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.
-
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: relationship
-
Refers to: ManagedContentSpace
- Type: string
- Properties: Filter, Group, idLookup, Nillable, Sort
- Description: Unique identifier of the content.
-
Type: string
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 62.0
-
Description:
The fully qualified name of the content type of this CMS content. In an enhanced CMS workspace, the
ContentTypeFullyQualifiedNamefor each standard content type is:- News:
sfdc_cms__news - Image:
sfdc_cms__image - Document:
sfdc_cms__document
In a CMS workspace, the
ContentTypeFullyQualifiedNamefor each standard content type is:- News:
news - Image:
cms_image - Document:
cms_document
In both CMS workspaces and enhanced CMS workspaces, the
ContentTypeFullyQualifiedNamefor a custom content type is the same as the developer name of the custom content type. - News:
- Type: string
- Properties: Filter, Group, idLookup, Nillable, Sort
- Introduced: API version 57.0
- Type: string
- Properties: Filter, Group, idLookup, Sort
- Introduced: API version 58.0
- Description: The name of the Salesforce CMS content. When you view this content in a CMS workspace,
Nameis the title of the latest content version. In an enhanced CMS workspace,Nameis the title of the content in the workspace’s default language.
- Type: picklist
- Properties: Filter, Group, Restricted picklist, Sort
- Introduced: API version 47.0
- Description: The default language of the Salesforce CMS workspace where the content resides.
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.
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.
- ManagedContentChangeEvent: Introduced in API version 62.0.