GetPluginRegistrationJsonMapping.ps1
# # GetPluginRegistrationJsonMapping.ps1 # param( [string]$CrmConnectionString, [string]$AssemblyName, [bool]$IsWorkflowActivityAssembly, [string]$MappingJsonPath, [string]$SolutionName, [int]$Timeout=360 ) $ErrorActionPreference = "Stop" Write-Verbose 'Entering GetPluginRegistrationJsonMapping.ps1' -Verbose #Parameters Write-Verbose "CrmConnectionString = $CrmConnectionString" Write-Verbose "AssemblyName = $AssemblyName" Write-Verbose "IsWorkflowActivityAssembly = $IsWorkflowActivityAssembly" Write-Verbose "MappingJsonPath = $MappingJsonPath" Write-Verbose "SolutionName = $SolutionName" Write-Verbose "Timeout = $Timeout" #Script Location $scriptPath = split-path -parent $MyInvocation.MyCommand.Definition Write-Verbose "Script Path: $scriptPath" #Load XrmCIFramework $xrmCIToolkit = $scriptPath + "\Xrm.Framework.CI.PowerShell.Cmdlets.dll" Write-Verbose "Importing CIToolkit: $xrmCIToolkit" Import-Module $xrmCIToolkit Write-Verbose "Imported CIToolkit" Get-XrmPluginRegistrationJsonMapping -AssemblyName $AssemblyName -IsWorkflowActivityAssembly $IsWorkflowActivityAssembly -MappingJsonPath $MappingJsonPath -SolutionName $SolutionName -ConnectionString $CrmConnectionString -Timeout $Timeout -Verbose Write-Verbose 'Leaving GetPluginRegistrationJsonMapping.ps1' -Verbose |