Table of Contents

Enum DataTypeTargets

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Identifies the kinds of targets a DataType can be offered for when defining fields.

[Flags]
public enum DataTypeTargets
Extension Methods

Fields

All = ReusableFieldSchema | AllDataClasses

All targets, including reusable field schemas.

AllContentTypes = ReusableContentType | WebsiteContentType | EmailContentType | HeadlessContentType

All content type kinds.

AllDataClasses = AllContentTypes | SystemTable | OtherDataClass | Form | CustomerJourney

All data class targets (every content type kind, system tables, forms, customer journey tables and other data classes), excluding reusable field schemas.

CustomerJourney = 256

Fields of customer journey support tables.

EmailContentType = 4

Fields of email content types.

Form = 128

Fields of forms.

HeadlessContentType = 8

Fields of headless content types.

None = 0

The data type is not offered for any target.

OtherDataClass = 64

Fields of data classes that are neither content types, system tables, forms, nor customer journey tables (for example custom module classes).

ReusableContentType = 1

Fields of reusable content types.

ReusableFieldSchema = 16

Fields of reusable field schemas.

SystemTable = 32

Fields of system tables.

WebsiteContentType = 2

Fields of website content types.

Remarks

Combine values with the bitwise OR operator.