---
schema_version: "1"
id: 2a9ad2aa7b54553377347f2b6ec2e4acb2be537f7a981228253f95cb0438389f
title: DataType Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_DataSource_DataType.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_DataSource_DataType.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cae5c2e0f0c85520fbef3f877eefe474b5dfe36a2a3f6e964a3373b051fbb932
description: Specifies the data types that are supported by the Apex Connector Framework.
---
# 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 |