DeploymentExtensions.ImportSolutionAsync Method

Definition

Overloads

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

Import Solution Async used Execute Async pattern to run a solution import.

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

public static Guid ImportSolutionAsync (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 ImportSolutionAsync : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * Guid * Guid * bool * bool * bool * bool * bool * System.Collections.Generic.Dictionary<string, obj> -> Guid
<Extension()>
Public Function ImportSolutionAsync (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

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

Import Solution Async used Execute Async pattern to run a solution import.

public static Guid ImportSolutionAsync (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 ImportSolutionAsync : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * string * Guid * bool * bool * bool * bool * bool * System.Collections.Generic.Dictionary<string, obj> -> Guid
<Extension()>
Public Function ImportSolutionAsync (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

Returns the Async Job ID. To find the status of the job, query the AsyncOperation Entity using GetEntityDataByID using the returned value of this method

Applies to