Export (0) Print
Expand All

Import File Entity Capabilities

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

This entity represents a logical source file that is used in import and data migration.

The class for this entity is importfile. For this class, you can use the messages listed in the following table with the Execute method.

MessageDescription
CreateUse this message to create an import file.

The information that is needed to create the entity instance is specified in the TargetCreateImportFile class.

You can also call the Create method.

DeleteUse this message to delete an import file.

The entity instance to delete is specified in the TargetDeleteImportFile class.

You can also call the Delete method.

GetDistinctValuesImportFileUse this message to return distinct values for a column in the source file that contains list values.

Use this message only after you have created a parse table by using the ParseImport message.

Do not use this message after you use the ImportRecordsImport message. You cannot access the parse table after the import job submitted by the ImportRecordsMessage message has finished running.

GetHeaderColumnsImportFileUse this message to retrieve source file column headings, or system-generated column headings if the source file does not contain column headings.
RetrieveUse this message to retrieve an import file.

The entity instance to retrieve is specified in the TargetRetrieveImportFile class.

You can also call the Retrieve method.

RetrieveMultipleUse this message to retrieve a collection of import files.

The query expression that describes the entity instances to retrieve is specified in the Query property of this request.

You can also call the RetrieveMultiple method.

RetrieveParsedDataImportFileUse this message to retrieve the data from the parse table.

Use this message only after you have created a parse table by using the ParseImport message.

Do not use this message after you use the ImportRecordsImport message. You cannot access the parse table after the import job submitted by the ImportRecordsMessage message has finished running.

UpdateUse this message to update an import file.

The entity instance to update is specified in the TargetUpdateImportFile class.

You can also use the Update method.


See Also

Concepts

Other Resources

Tasks


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft