This documentation is archived and is not being maintained.

Data Management Sample Code

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This section contains sample code for data management features. For more information, see Data Management.

In This Section

Enable Duplicate Detection

Describes how to enable duplicate detection globally and for an entity.

Back Up Records and Bulk Delete

Shows how to perform a bulk delete asynchronous operation for records that have been manually exported.

Start a Background Bulk Delete Operation

Explains how to start a bulk delete asynchronous operation and view details about the bulk delete failures.

Create an Import File for Data Migration

Provides guidelines for creating an import file entity.

Start an Import Job

Describes how to start an import job.

Start an Asynchronous Bulk Delete Job and Review Results

Shows how to start a bulk delete job and then review the results.

Other Resources

Import/Export/Publish Full Sample

See the SDK download package: SDK\Server\FullSample\ImportExportPublish. This sample includes an XML file with Bank Accounts and Safe Deposit Boxes as new entities that need to be imported. The sample shows how to export customizations for a backup, import a different customization file, and publish the imported customizations.

Data Migration Full Sample

See the SDK download package: SDK\Server\FullSample\DataMigration. This sample shows how to use data migration with a complex mapping.

© 2010 Microsoft Corporation. All rights reserved.