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.

DataType Enum

Specifies the data types that are supported by the Apex Connector Framework.

Usage

The DataSource.DataType enum is referenced by the type property on the DataSource.Column class.

Enum Values

The following are the values of the DataSource.DataType enum.

Value Description
BOOLEAN_TYPE Boolean
CURRENCY_TYPE Currency
DATE_TYPE Date
DATETIME_TYPE Date/Time
EMAIL_TYPE Email
EXTERNAL_LOOKUP_TYPE External lookup relationship
INDIRECT_LOOKUP_TYPE Indirect lookup relationship
LOOKUP_TYPE Lookup relationship
NUMBER_TYPE Number
PERCENT_TYPE Percent
PHONE_TYPE Phone
PICKLIST_MULTISELECT_TYPE Multi-select picklist
PICKLIST_TYPE Picklist
STRING_LONG_TYPE Long text area
STRING_SHORT_TYPE Text area
TIME_TYPE Time
URL_TYPE URL