购买附加组件时传输数据的方法

Ways to transfer data at a time when the add-on get purchased

我们正在为 Dynamics CRM 开发插件,我们需要在一些主实体中预填充数据。 我们在客户端 CRM 环境中部署插件时,有什么方法可以同时导入数据吗?

是的,通过一个名为 Dynamics 365 Package Deployer 的工具。

Microsoft Dynamics CRM Package Deployer lets administrators deploy packages on Microsoft Dynamics 365 (online) and Dynamics 365 (on-premises) instances. A “package” can consist of any or all of the following:

  • One or more Dynamics 365 solution files.

  • Flat files or exported configuration data file from the Configuration Migration tool. For more information about the tool, see TechNet: Manage your configuration data.

  • Custom code that can run before, while, or after the package is deployed to the Dynamics 365 instance.

  • HTML content specific to the package that can display at the beginning and end of the deployment process. This can be useful to provide a description of the solutions and files that are deployed in the package.

Microsoft Dynamics 365 provides you with a Visual Studio template for creating these packages that can be used with the Package Deployer tool to deploy them to a Dynamics 365instance.

Here's 一个关于创建包的视频。

another关于部署包。