ManagedContentNodeType

Represents standard and custom content node types created for use with your org.

Version 

Introduced in API version 47.0.

Supported SOAP API Calls 

delete(), describeSObjects(), query(), retrieve()

Supported REST API Methods 

DELETE, GET, HEAD, Query

Fields 

HelpText 

  • Type: textarea

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: Provides assistive text in the UI, displayed as an info bubble for the field. If this field is empty, no info bubble icon or text is displayed.

NodeLabel 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: Declares the label for the field as it appears in the UI.

NodeName 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: Unique name of the NodeType within the content type.

NodeName is a simple text field that allows up to 100 alphanumeric characters and underscores. The name must begin with a letter, not include spaces, can’t have two consecutive underscores, and can’t end with an underscore.

NodeOptionsAddToCompact 

  • Type: boolean
  • Required: No
  • Properties: Filter

NodeOptionsIsLocalizable 

  • Type: boolean

  • Required: No

  • Properties: Filter

  • Description: Declares a field as localizable so it’s exported (true) or not (false) by the content translation service in the Digital Experiences app. Default is false.

NodeOptionsIsRepeatable 

  • Type: boolean
  • Required: No
  • Properties: Filter

NodeOptionsIsRequired 

  • Type: boolean

  • Required: No

  • Properties: Filter

  • Description: Declares a field as required (true) or not (false). Fields declared as a required are indicated by a red asterisk. If a value isn’t added to the field, the form can’t be saved and a standard error is displayed. Default is false.

NodeType 

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Restricted picklist, Sort

  • Description: Identifies the supported type of content in the node. Passed as a string. There’s a maximum of 15 node types per content type.

  • Possible values:

    • TEXT — TEXT — Simple text node (maximum length 255 characters)

    • MTEXT — MTEXT — Multi-line text node (maximum length 2000 characters)

    • RTE — RTE — Rich text node (maximum length 65536 characters)

    • IMG — IMG — Image node

    • NAMEFIELD — NAMEFIELD — Declares the field as the name that represents the content when referenced in the UI. For example, in a list of available content in the Digital Experiences app or as available for inclusion in a collection in Experience Cloud sites. Declare only one NodeType in your managed content type as NAMEFIELD. NAMEFIELD is a string type of 200 characters or less. When NAMEFIELD is used, [isRequired](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_managedcontenttype#isrequired.htm) must also be set to True for the field.

    • URL — URL — URL node (maximum length 255 characters)URL accepts protocol string values starting with http://, https://, mailto:, tel:, and /.

    • DATETIME — DATETIME — Datetime node DATETIME accepts date and time in the format: yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ (UTC datetime in ISO 8601 format).

    • DATE — DATE — Date node DATE accepts dates only in the format yyyy-MM-dd.

PlaceholderText 

  • Type: textarea

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: Provides assistive text in the UI, displayed as placeholder, or ghost text, in a field before any entry is made. For example, Enter a title for your article...

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!