ManagedContentType

Represents standard and custom content types created for use with your org. Available in API version 47.0 and later.

Supported SOAP Calls

create(), delete(), query(), retrieve(), update(), upsert()

Supported REST HTTP Methods

GET, POST, DELETE

You can delete a content type only if no content has been created based on that content type.

Note

ManagedContentType

Field Details
Description
Type
textarea
Properties
Filter, Group, Nillable, Sort
Description
Describes the custom content type defined in this ManagedContentType declaration.
DeveloperName
Type
string
Properties
Filter, Group, Sort
Description
Unique name for the custom content type. For example: OurSpecialContent_c
FullName
Type
string
Properties
Create, Group, Nillable
Description

The full name of the content type in Metadata API.

A unique name for the content type that contains only underscores and alphanumeric characters. The name must be unique across the org, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.

Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.

Language
Type
picklist
Properties
Defaulted on create, Group, Nillable, Restricted picklist, Sort
Description
The language of the content type.
MasterLabel
Type
string
Properties
Filter, Group, Sort
Description
Declares the name of the content type as it appears in the UI.
Metadata
Type
mns: ManagedContentType
Description

The content type definition’s metadata object, containing information about which version is active and the content type definition’s description.

Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.