1

Closed

Does Not Create ImportJob Record

description

When creating the import request the program does include the ImportJobId in the request so an instance of an ImportJob record is never created. This makes it hard to determine if import were successful or not and what percentage of the import succeeded.
 
To update this modify the SolutionManged.cs file to include the ImportJobId = Guid.NewGuid() property when creating the request.
 
ImportSolutionRequest request = new ImportSolutionRequest()
                {
                    ConvertToManaged = settings.ConvertToManaged,
                    CustomizationFile = File.ReadAllBytes(archivePath),
                    OverwriteUnmanagedCustomizations = settings.OverwriteUnmanagedCustomizations,
                    PublishWorkflows = settings.Activate,
                    //Adding the ImportJobId property will generate an ImportJob record for the Import.
                    ImportJobId = Guid.NewGuid()
                };
Closed Nov 23, 2011 at 3:53 PM by tanguy92

comments

wrote Nov 23, 2011 at 3:53 PM

Résolu avec l'ensemble de modifications 9022.

wrote Feb 14, 2013 at 1:10 AM

wrote May 16, 2013 at 4:03 AM