CrmServiceClient.ImportSolutionToCrm(String, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>) CrmServiceClient.ImportSolutionToCrm(String, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>) CrmServiceClient.ImportSolutionToCrm(String, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>) Method

Definition

Imports a CRM solution to the CRM Server currently connected.

*** Note: this is a blocking call and will take time to Import to CRM ***

public Guid ImportSolutionToCrm (string solutionPath, out Guid importId, bool activatePlugIns = true, bool overwriteUnManagedCustomizations = false, bool skipDependancyOnProductUpdateCheckOnInstall = false, bool importAsHoldingSolution = false, bool isInternalUpgrade = false, System.Collections.Generic.Dictionary<string,object> extraParameters = null);
member this.ImportSolutionToCrm : string * Guid * bool * bool * bool * bool * bool * System.Collections.Generic.Dictionary<string, obj> -> Guid
Public Function ImportSolutionToCrm (solutionPath As String, ByRef importId As Guid, Optional activatePlugIns As Boolean = true, Optional overwriteUnManagedCustomizations As Boolean = false, Optional skipDependancyOnProductUpdateCheckOnInstall As Boolean = false, Optional importAsHoldingSolution As Boolean = false, Optional isInternalUpgrade As Boolean = false, Optional extraParameters As Dictionary(Of String, Object) = null) As Guid

Parameters

solutionPath
String String String

Path to the Solution File

importId
Guid Guid Guid

This will populate with the Import ID even if the request failed. You can use this ID to request status on the import via a request to the ImportJob entity.

activatePlugIns
Boolean Boolean Boolean

Activate Plugin's and workflows on the Solution

overwriteUnManagedCustomizations
Boolean Boolean Boolean

Forces an overwrite of unmanaged customizations of the managed solution you are installing, defaults to false

skipDependancyOnProductUpdateCheckOnInstall
Boolean Boolean Boolean

Skips dependency against dependencies flagged as product update, defaults to false

importAsHoldingSolution
Boolean Boolean Boolean

Applies only on CRM organizations version 7.2 or higher. This imports the CRM solution as a holding solution utilizing the “As Holding” capability of ImportSolution

isInternalUpgrade
Boolean Boolean Boolean

Internal Microsoft use only

extraParameters
Dictionary<String,Object>

Extra parameters

Returns

Applies to