The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

Add

Creates a new data extension and returns an initialized DataExtension object

Add(1)

OrdinalTypeDescription
1objectRequiredObject representing the properties of the new data extension

Limit your data extension external keys to 36 characters to help ensure all further processes function correctly.

This sample code creates a data extension:

This sample code creates a sendable data extension:

This sample code creates a sendable and testable data extension: