Jaa


DeploymentExtensions.ImportSolution Method

Definition

Overloads

ImportSolution(ServiceClient, Guid, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)
ImportSolution(ServiceClient, String, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)

Imports a Dataverse solution to the Dataverse Server currently connected.

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

ImportSolution(ServiceClient, Guid, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)

public static Guid ImportSolution (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, Guid StageSolutionUploadId, 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 = default);
static member ImportSolution : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * Guid * Guid * bool * bool * bool * bool * bool * System.Collections.Generic.Dictionary<string, obj> -> Guid
<Extension()>
Public Function ImportSolution (serviceClient As ServiceClient, StageSolutionUploadId As Guid, 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) = Nothing) As Guid

Parameters

serviceClient
ServiceClient
StageSolutionUploadId
Guid
importId
Guid
activatePlugIns
Boolean
overwriteUnManagedCustomizations
Boolean
skipDependancyOnProductUpdateCheckOnInstall
Boolean
importAsHoldingSolution
Boolean
isInternalUpgrade
Boolean
extraParameters
Dictionary<String,Object>

Returns

Applies to

ImportSolution(ServiceClient, String, Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Dictionary<String,Object>)

Imports a Dataverse solution to the Dataverse Server currently connected.

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

public static Guid ImportSolution (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, 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 = default);
static member ImportSolution : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * string * Guid * bool * bool * bool * bool * bool * System.Collections.Generic.Dictionary<string, obj> -> Guid
<Extension()>
Public Function ImportSolution (serviceClient As ServiceClient, 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) = Nothing) As Guid

Parameters

serviceClient
ServiceClient

ServiceClient

solutionPath
String

Path to the Solution File

importId
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

Activate Plugin's and workflows on the Solution

overwriteUnManagedCustomizations
Boolean

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

skipDependancyOnProductUpdateCheckOnInstall
Boolean

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

importAsHoldingSolution
Boolean

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

isInternalUpgrade
Boolean

Internal Microsoft use only

extraParameters
Dictionary<String,Object>

Extra parameters

Returns

Applies to