Newer Version Available

This content describes an older version of this product. View Latest

Development Platforms

Metadata API supports both file-based and CRUD-based development.

File-Based Development

The declarative or file-based asynchronous Metadata API deploy() and retrieve() calls deploy or retrieve a .zip file that holds components in a set of folders, and a manifest file named package.xml. For more information, see Deploying and Retrieving Metadata. The easiest way to access the file-based functionality is to use the Force.com IDE or Force.com Migration Tool.

CRUD-Based Development

The CRUD-based Metadata API calls act upon the metadata components in a manner similar to the way synchronous API calls in the enterprise WSDL act upon objects. For more information about the enterprise WSDL, see the SOAP API Developer's Guide.

Use the asynchronous create(), update(), and delete() calls with the utility call checkStatus(). For more information, see CRUD-Based Metadata Development.

Alternatively, you can use the synchronous equivalents of these calls that are listed in CRUD-based Metadata API calls, such as createMetadata().