Working on Package Deployer Project to deploy Managed Solutions and Data Files in Sequence.
I have added 3 solutions and 1 Data file(Data file created using the Configuration Migration tool which comes with CRM SDK) in PkgFolder. I have added 3 solutions and a Data file in ImportConfig.xml
My Challenge is I want to import the solutions and Data files in sequence like:
- Import Solution 1, Solution 2
- Import Data File
- Import Solution 3
How to configure such a sequence?
Due to a lack of Documentation and resources could not proceed with achieving this challenge.
Please help!
Below is my ImportConfig.xml
<?xml version="1.0" encoding="utf-16"?>
<!--
More information about ImportConfig.xml file
https://docs.microsoft.com/en-us/power-platform/alm/package-deployer-tool
-->
<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="BookingStatusData.zip">
<!-- solutions to import -->
<solutions>
<configsolutionfile solutionpackagefilename="Solution1.zip" />
<configsolutionfile solutionpackagefilename="Solution2.zip" />
<configsolutionfile solutionpackagefilename="Solution3.zip" />
</solutions>
<filesmapstoimport>
<configimportmapfile filename="BookingStatusSchema.xml" />
</filesmapstoimport>
<filestoimport>
<configimportfile filename="BookingStatusData.zip"
filetype="ZIP"
associatedmap="BookingStatusSchema"
importtoentity="bookingstatus"
datadelimiter=""
fielddelimiter="comma"
enableduplicatedetection="true"
isfirstrowheader="true"
isrecordownerateam="false"
owneruser=""
waitforimporttocomplete="false" />
</filestoimport>
</configdatastorage>