| helpText |
string |
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. For example:
<IMG?>
|
| isLocalizable |
boolean |
Declares a field as localizable and consumable by <loc MDAPI reference>
(true) or not (false). Default is false.NodeTypes IMG, URL, DATE, and
DATETIME can’t be localized.
|
| isRequired |
boolean |
Declares a field as required (true) or not
(false). Fields declared as required are
indicated by a red asterisk. If a value isn’t added to the field in the custom
content type, the form can’t be saved and a standard error is displayed. Default is
false.When nodeType is set to
NAMEFIELD on a field,
isRequired must also be set to True for that field.
|
| nodeLabel |
string |
Required. Declares the label for the field as it appears in the UI. In
enhanced workspaces, the system generates a Title field by default. To prevent
having multiple Title fields on the UI when you create a custom content type for
use in an enhanced workspace, don't use Title as the label for
nodeLabel.
|
| nodeName |
string |
Required. 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. In enhanced workspaces, the system generates a Title field by
default. To prevent having multiple Title fields on the UI when you create a
custom content type for use in an enhanced workspace, don't use Title as the label
for nodeName.
|
| nodeType |
MCNodeType (enumeration of type string) |
Required. Identifies the supported type of content in the node. Passed as a
string. There’s a maximum of 15 node types per content type. Values are case
insensitive but are returned in all capital letters as shown. Valid values are:
-
TEXT
Simple text node (max length=255
characters)
-
MTEXT
Multi-line text node (max
length=2000 characters)
-
RTE
Rich text node (max length=65536
characters)
-
IMG
Image node
IMG node types can’t be localized. Set
isLocalizable to false for images.
-
URL
URL node (max length=255
characters) URL accepts protocol
string values starting with http://, https://, mailto:, tel:, and
/.
URL node types can’t
be localized. Set isLocalizable to false for
URLs.
-
DATE
Date node
DATE accepts dates only in the
format yyyy-MM-dd.
DATE node types can’t be localized.
Set isLocalizable to false for dates.
-
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).
DATETIME node types
can’t be localized. Set isLocalizable to false for
datetime notes.
-
NAMEFIELD
NAMEFIELD declares the field as the name that
represents the content when referenced in the UI. For example, text entered in
this field displays as a list of available content in the Digital Experiences
app or as a piece of content available for inclusion in a collection in an
Experience Cloud site. One, and only one, nodeType in
your managed content type must be declared as NAMEFIELD. NAMEFIELD is a
string of 200 characters or fewer. In enhanced workspaces, the system
generates a Title field by default. To prevent having multiple Title fields
on the UI when you create a custom content type for use in an enhanced
workspace, don't use Title as the label for nodeName or
nodeLabel for the NAMEFIELD node. If you've already named
nodeName Title, choose a different label for
nodeLabel to prevent confusion on the content
creation page. When NAMEFIELD is
used, isRequired must also be set to
true for the field.
|
| placeholderText |
string |
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...
|