Messages for Import, Export, and Publish

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

The following table describes the messages related to importing, exporting, and publishing customizations. Use these messages with the Execute method.

Message name Description
ExportAllXml Export all customizations to an XML file.
ExportCompressedAllXml Export all customizations to an XML file, which is then compressed into a zipped format.
ExportCompressedTranslationsXml Export all translations to an XML file, which is then compressed into a zipped format.
ExportCompressedXml Export the specified customizations to an XML file, which is then compressed into a zipped format.
ExportTranslationsXml Export all translations to an XML file.
ExportXml Export a list of entities to an XML file.
ImportAllXml Import all customizations from an XML file.
ImportCompressedAllXml Import all customizations from an XML file that has been compressed into a zipped format.
ImportCompressedXmlWithProgress Import all customizations with progress logging from an XML file that has been compressed into a zipped format.
ImportTranslationsXmlWithProgress Import all translations from an XML file with progress logging.
ImportXml Import a list of entities from an XML file.
ImportXmlWithProgress Import the specified set of entity customizations from an XML file with progress logging.
PublishAllXml Publish all customizations.
PublishXml Publish a list of entity customizations.

The following points describe the details of importing, exporting, and publishing:

  • Only entity customizations that have been published are exported.
  • Importing is additive for custom entities, attributes, and relationships. That is, if an import file contains entities that do not exist on the target system, they are added to the target system. If an entity exists on the target system, but does not exist in the import file, the entities remain on the target system.
  • Every attribute that is required either in a Create or in an Update operation is exported. In addition, there are some non-modifiable properties that are exported, which are used in Create operations.
  • System settings and business settings do not participate in import, export, and publish operations.
  • Changes that you make to the customizations.xml file must comply with the schema. For more information, see Import and Export Schema.

See Also

Concepts

Reference

© 2010 Microsoft Corporation. All rights reserved.