Table of Contents

Class FieldDataType

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Field data types - string constants.

public static class FieldDataType
Inheritance
object
FieldDataType

Fields

ALL

All datatypes.

public const string ALL = "all"

Field Value

string

Assets

Represents assets collection.

[Obsolete("Media libraries and their data types are obsolete and will be discontinued in the future. Please migrate all media library files to Content hub and use their corresponding content item data types.", false)]
public const string Assets = "assets"

Field Value

string

Binary

Binary.

public const string Binary = "binary"

Field Value

string

Boolean

Boolean.

public const string Boolean = "boolean"

Field Value

string

ContentItemAsset

Represents a content item asset.

public const string ContentItemAsset = "contentitemasset"

Field Value

string

ContentItemReference

Represents referenced content items.

public const string ContentItemReference = "contentitemreference"

Field Value

string

Date

Date.

public const string Date = "date"

Field Value

string

DateTime

Date and time.

public const string DateTime = "datetime"

Field Value

string

Decimal

Decimal.

public const string Decimal = "decimal"

Field Value

string

Double

Double.

public const string Double = "double"

Field Value

string

Emails

Represents emails collection.

public const string Emails = "emails"

Field Value

string

Guid

GUID.

public const string Guid = "guid"

Field Value

string

HeadlessItemReference

Represents referenced headless items.

public const string HeadlessItemReference = "headlessitemreference"

Field Value

string

Integer

Integer.

public const string Integer = "integer"

Field Value

string

LongInteger

Long integer.

public const string LongInteger = "longinteger"

Field Value

string

LongText

Long text.

public const string LongText = "longtext"

Field Value

string

ObjectCodeNames

Represents a collection of object code names.

public const string ObjectCodeNames = "objectcodenames"

Field Value

string

ObjectGuids

Represents a collection of object guids.

public const string ObjectGuids = "objectguids"

Field Value

string

ObjectIds

Represents a collection of object ids.

public const string ObjectIds = "objectids"

Field Value

string

Pages

Represents pages collection.

[Obsolete("The data type is not supported, and the using this constant has no effect.")]
public const string Pages = "pages"

Field Value

string

RichTextHTML

Represents rich text in HTML.

public const string RichTextHTML = "richtexthtml"

Field Value

string

SmartFolder

Represents a smart folder.

public const string SmartFolder = "smartfolder"

Field Value

string

Taxonomy

Represent a collection of tags from a taxonomy.

public const string Taxonomy = "taxonomy"

Field Value

string

Text

Text.

public const string Text = "text"

Field Value

string

TimeSpan

Time span.

public const string TimeSpan = "timespan"

Field Value

string

Unknown

Unknown data type.

public const string Unknown = ""

Field Value

string

WebPages

Represents web pages collection.

public const string WebPages = "webpages"

Field Value

string

Xml

XML.

public const string Xml = "xml"

Field Value

string