Question Status

Verified
Olddog1 asked a question on 4 Feb 2015 5:35 PM

Hi, I have been asked to create a CRMPackageDeployment for CRM 2013. We have two solutions in ZIP files to import. My issue is that I don't understand the ImportConfig.xml file that goes with the package.
In the zipimportdetail, do I have to list every file in the zip?

Should I delete the lines for file types I am not importing? CSV, etc.

If someone has a reference that describes this process in more detail please point me at it.

Thanks in advance

Reply
Suggested Answer
Mahadeo Matre responded on 4 Feb 2015 9:11 PM

Hi..

check this link

msdn.microsoft.com/.../dn688182.aspx

It has all your required information..

Hope this will help..

Reply
Verified Answer
Chitrarasan Duraisamy responded on 4 Feb 2015 9:38 PM

Here is sample Import config file , in this file you have to include all solution zip file that you want to import into organization and as well you  can include all the configuration data file that you want to import into organization

1.Highlgihted in red shows all the solution file that are part of deployment package.

2.Highlighted in blue shows all the data file that you want to import as part of the deploymentpackage.

<configdatastorage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
installsampledata="false"
waitforsampledatatoinstall="true"
agentdesktopzipfile=""
agentdesktopexename=""
crmmigdataimportfile="">
<solutions>
<configsolutionfile solutionpackagefilename="AbleBridgeCore_7_0_16_managed.zip" />
<configsolutionfile solutionpackagefilename="AbleBridgeDataGrid_7_0_14_managed.zip" />
</solutions>
<filestoimport>
<configimportfile filename="CounterDataSettings.xml" filetype="xml" associatedmap="CounterDataMap.xml" importtoentity="xbitz_counter" datadelimiter="" fielddelimiter="comma"
enableduplicatedetection="true" isfirstrowheader="true" isrecordownerateam="false" owneruser="" waitforimporttocomplete="false"/>
<configimportfile filename="TeamDataSettings.xml" filetype="xml" associatedmap="TeamDataMap.xml" importtoentity="team" datadelimiter="" fielddelimiter="comma"
enableduplicatedetection="true" isfirstrowheader="true" isrecordownerateam="false" owneruser="" waitforimporttocomplete="false"/>


<!-- <configimportfile filename="File.zip" filetype="ZIP" associatedmap="ZipFileMap" importtoentity="FileEntity" datadelimiter="" fielddelimiter="comma"
enableduplicatedetection="true" isfirstrowheader="true" isrecordownerateam="false" owneruser="" waitforimporttocomplete="true"/>-->
<zipimportdetails>
<!--<zipimportdetail filename="subfile1.csv" filetype="csv" importtoentity="account" />
<zipimportdetail filename="subfile2.txt" filetype="csv" importtoentity="contact" />-->
</zipimportdetails>
</filestoimport>
<filesmapstoimport>
<!--<configimportmapfile filename="CounterDataMap.xml" />-->
<!--<configimportmapfile filename="ZipFileMap.xml" />-->
</filesmapstoimport>
</configdatastorage>

You can find more about in below posts

http://blog.sonomapartners.com/2014/07/crm-2013-spring-14-package-deployer-tool.html

https://kasperbirch.wordpress.com/2014/06/09/creating-deployment-packages-for-crm-2013/

Chitra


Reply
Olddog1 responded on 6 Feb 2015 11:13 AM

Thanks for the help. The extra reading was very helpful.

Reply
Verified Answer
Chitrarasan Duraisamy responded on 4 Feb 2015 9:38 PM

Here is sample Import config file , in this file you have to include all solution zip file that you want to import into organization and as well you  can include all the configuration data file that you want to import into organization

1.Highlgihted in red shows all the solution file that are part of deployment package.

2.Highlighted in blue shows all the data file that you want to import as part of the deploymentpackage.

<configdatastorage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
installsampledata="false"
waitforsampledatatoinstall="true"
agentdesktopzipfile=""
agentdesktopexename=""
crmmigdataimportfile="">
<solutions>
<configsolutionfile solutionpackagefilename="AbleBridgeCore_7_0_16_managed.zip" />
<configsolutionfile solutionpackagefilename="AbleBridgeDataGrid_7_0_14_managed.zip" />
</solutions>
<filestoimport>
<configimportfile filename="CounterDataSettings.xml" filetype="xml" associatedmap="CounterDataMap.xml" importtoentity="xbitz_counter" datadelimiter="" fielddelimiter="comma"
enableduplicatedetection="true" isfirstrowheader="true" isrecordownerateam="false" owneruser="" waitforimporttocomplete="false"/>
<configimportfile filename="TeamDataSettings.xml" filetype="xml" associatedmap="TeamDataMap.xml" importtoentity="team" datadelimiter="" fielddelimiter="comma"
enableduplicatedetection="true" isfirstrowheader="true" isrecordownerateam="false" owneruser="" waitforimporttocomplete="false"/>


<!-- <configimportfile filename="File.zip" filetype="ZIP" associatedmap="ZipFileMap" importtoentity="FileEntity" datadelimiter="" fielddelimiter="comma"
enableduplicatedetection="true" isfirstrowheader="true" isrecordownerateam="false" owneruser="" waitforimporttocomplete="true"/>-->
<zipimportdetails>
<!--<zipimportdetail filename="subfile1.csv" filetype="csv" importtoentity="account" />
<zipimportdetail filename="subfile2.txt" filetype="csv" importtoentity="contact" />-->
</zipimportdetails>
</filestoimport>
<filesmapstoimport>
<!--<configimportmapfile filename="CounterDataMap.xml" />-->
<!--<configimportmapfile filename="ZipFileMap.xml" />-->
</filesmapstoimport>
</configdatastorage>

You can find more about in below posts

http://blog.sonomapartners.com/2014/07/crm-2013-spring-14-package-deployer-tool.html

https://kasperbirch.wordpress.com/2014/06/09/creating-deployment-packages-for-crm-2013/

Chitra


Reply
Suggested Answer
Mahadeo Matre responded on 4 Feb 2015 9:11 PM

Hi..

check this link

msdn.microsoft.com/.../dn688182.aspx

It has all your required information..

Hope this will help..

Reply