Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.ContentHubFieldDefinition

A field definition.
Property Name Type Description Available Version
displayName String Label or caption of this field. 39.0
isMandatory Boolean Specifies whether this field is mandatory for the item type. 39.0
maxLength Integer Maximum length of the value of this field. 39.0
name String Name of the field. 39.0
type ConnectApi.​ContentHub​VariableType Data type of the value of the field. Values are:
  • BooleanType
  • DateTimeType
  • DecimalType
  • HtmlType
  • IdType
  • IntegerType
  • StringType
  • UriType
  • XmlType
39.0