简体   繁体   English

Dynamics CRM 2011的预定导出/导入

[英]Scheduled Export/Import for Dynamics CRM 2011

I don't know if this is the right place to ask but I give it a try. 我不知道这是否是正确的地方,但我试一试。 Does anyone know if there is a functionality in Dynamics CRM 2011 to create a schedule that does an automated XML Export of an entity and/or a schedule for import another file from a defined place ? 有没有人知道Dynamics CRM 2011中是否有功能来创建执行实体的自动XML导出的计划和/或从定义的位置导入另一个文件的计划?

Do I have to code that myself :( ? Background for this question is the daily synchronisation between two databases 我是否必须自己编写代码:(?此问题的背景是两个数据库之间的每日同步

I'm working on this myself and having found one of the most helpful Dynamics helpers out there (see http://varghesedanny.com/ ) 我自己正在研究这个问题,并找到了最有用的Dynamics助手之一(参见http://varghesedanny.com/

Here is a copy & paste of our recent volley back & forth about this... 这是我们最近关于此的来回抽奖的复制和粘贴......

I had been leaning towards plugin + XRM whereas my other main counterpart is looking into the SSIS method... 我一直倾向于插件+ XRM,而我的另一个主要对手正在研究SSIS方法......

Assumptions: 1. Assuming you have the data already in the SQL database in a format ready for consumption 2. Assuming this is a database outside of CRM 假设:1。假设您已经准备好消费的格式已经存储在SQL数据库中的数据2.假设这是CRM之外的数据库

Possible solutions: 可能的解决方案:

  1. Using XRM methodologies, you can create an “integration logs” entity with fields around status of the integration, an entry for the data integrated and a field for error handling. 使用XRM方法,您可以创建“集成日志”实体,其中包含集成状态的字段,集成数据的条目和错误处理字段。 Then on update of a field (you can do this manually or using a button), trigger an asynchronous plug-in to read the database, parse the XML and pull it into CRM. 然后在更新字段时(您可以手动或使用按钮执行此操作),触发异步插件以读取数据库,解析XML并将其拉入CRM。

  2. You can use SSIS (free with SQL Server) and add a scheduled task to kick off an integration process. 您可以使用SSIS(SQL Server免费)并添加计划任务以启动集成过程。 This is a bit complex to setup, but not too bad. 设置有点复杂,但也不算太糟糕。

  3. Scribe is third-party software, a bit expensive, but many of the operations are point and click and is a common tool used by many of our clients to integrate and migrate data. Scribe是第三方软件,有点贵,但许多操作都是点击式操作,是我们许多客户用来集成和迁移数据的常用工具。 You can also setup automated batch jobs to integrate in intervals. 您还可以设置自动批处理作业以间隔进行集成。

That being said there is workable code in PHP that my team has proven to work w/ Rollup 10 here... 话虽如此,我的团队已证明在这里使用Rollup 10工作的PHP中可行的代码......

http://code.google.com/p/php-dynamics-crm-2011/source/browse/branches/RB-1.0.2/RB-1.0.0/DynamicsCRM2011.demo.php?r=69 http://code.google.com/p/php-dynamics-crm-2011/source/browse/branches/RB-1.0.2/RB-1.0.0/DynamicsCRM2011.demo.php?r=69

As far as I know this is not available in CRM 2011. There is a solution for your requirement but it is a 3rd-party application. 据我所知,这在CRM 2011中不可用。有一个满足您需求的解决方案,但它是第三方应用程序。

A Company called Scribe provides an integration services for all Dynamics products. 名为Scribe的公司为所有Dynamics产品提供集成服务。

Check this link Scribe 检查此链接Scribe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM