简体   繁体   English

Microsoft Dynamics CRM:2015年至2013年的导出解决方案

[英]Microsoft Dynamics CRM: Export solution from 2015 to 2013

Is it possible to export a solution from CRM 2015 (7.0) to CRM 2013 (6.1)? 是否可以将解决方案从CRM 2015(7.0)导出到CRM 2013(6.1)? Instructions I've found online say there's a step to choose target version in the export wizard but it doesn't appear for me. 我在网上找到的说明说,在导出向导中可以选择目标版本,但是对我而言似乎没有。

That's not possible. 那不可能 The only way is manual copying of solution. 唯一的方法是手动复制解决方案。

Andrii is right, there doesn't seem to be a way to import a 2015 solution into 2013. But at least in my case, I was able get an import to work by unzipping and editing XML files in the exported solution. Andrii是对的,似乎没有办法将2015年的解决方案导入2013年。但是至少就我而言,我能够通过在导出的解决方案中解压缩和编辑XML文件来进行导入。 Perhaps this could help someone else: 也许这可以帮助其他人:

In solution.xml I set version="6.1.3.125" and SolutionPackageVersion="6.1" in the initial <ImportExportXml> element. solution.xml我在初始<ImportExportXml>元素中设置了version="6.1.3.125"SolutionPackageVersion="6.1"

Then using regex find and replace in Notepad++ I removed the following elements throughout customizations.xml to make the schema match: 然后在记事本++中使用正则表达式查找和替换,我在整个customizations.xml删除了以下元素以使模式匹配:

  • <SourceType>
  • <CanChangeHierarchicalRelationship>
  • <EntityHelpUrlEnabled>
  • <EntityHelpUrl>
  • <IsHierarchical>

Zipped the files back up and it successfully imported into 2013. 压缩文件后将其成功导入到2013年。

I was able to hack the solution files and successfully imported a 2015 Update 1 solution into 2013. Here were my steps: 我能够破解解决方案文件,并将2015 Update 1解决方案成功导入了2013。这是我的步骤:

Change the first line of solution.xml to the following: 将solution.xml的第一行更改为以下内容:

Remove the following from customizations.xml (obviously these reference new features not yet available back in 2013) 0 0 0 1 0 ….. ….. 0 1 0 0 0 1 false 1 0 5.0.0.0 1.0.0.0 1.0 1.0.5.418 Replace 从customizations.xml中删除以下内容(显然,这些参考新功能在2013年还不可用)0 0 0 1 0…..….. 0 1 0 0 0 1 false 1 0 5.0.0.0 1.0.0.0 1.0 1.0.5.418更换

with
Remove IntroducedVersion="5.0.0.0" from SiteMap area 从SiteMap区域中删除IntroducedVersion =“ 5.0.0.0”

Edit all Workflow XML files Change Version=7.0.0.0 to Version=5.0.0.0 编辑所有工作流XML文件,将Version = 7.0.0.0更改为Version = 5.0.0.0

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

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