Condividi tramite


ImportExtension Class

Definition

Extension for package setup import activities.

public ref class ImportExtension abstract : Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::IImportExtensions2, Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::IImportExtensions3, Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::IImportExtensions4, Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::IImportExtensions5, Microsoft::Xrm::Tooling::PackageDeployment::CrmPackageExtentionBase::IImportExtensions6
public abstract class ImportExtension : Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.IImportExtensions2, Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.IImportExtensions3, Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.IImportExtensions4, Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.IImportExtensions5, Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.IImportExtensions6, Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.IImportExtensions7
type ImportExtension = class
    interface IImportExtensions2
    interface IImportExtensions
    interface IImportExtensions3
    interface IImportExtensions4
    interface IImportExtensions5
    interface IImportExtensions6
    interface IImportExtensions7
Public MustInherit Class ImportExtension
Implements IImportExtensions2, IImportExtensions3, IImportExtensions4, IImportExtensions5, IImportExtensions6, IImportExtensions7
Inheritance
ImportExtension
Implements

Constructors

ImportExtension()

Fields

PackageLog

Logging Interface.

Properties

CrmSvc

Returns a pointer to the CRM instance.

CurrentPackageLocation

Returns the location of the executing package

DataImportBypass

Allows data import process to be skipped if true, the process is skipped, if false, it is not. Default is false. for this to function, it needs to be set in or before the PreImport function call

GetExtraProgramLaunchLinkText

Returns the Title Link Text that is show on the completed page.

GetImportLongName

Returns the long name of the import process.

GetImportPackageDataFolderName

Returns the name of the Import package data folder.

GetImportPackageDescription

Gets package description import.

GetImportPackageDescriptionText

Description of the import package.

GetImportPackageFolderName

Returns the folder name of the import.

GetLongNameOfImport

Returns the long name of the import process.

OverrideDataImportSafetyChecks

Allows a package developer to skip data validation on Complex data imports The net effect is that import is much faster at the cost of the potential data collisions

OverrideDataTimestamp

Overrides the timestamp specified in the exported data.

OverrideDateMode

Overrides the dateMode of all fields during import.

RootControlDispatcher

Parent dispatcher for displaying UI elements.

RuntimeSettings

Settings that will be passed to package.

SecretManager

Gets or sets secret manager. Publishers should be able to perform basic operations like Get/Set secret from Keyvault using this client.

Methods

AfterPrimaryImport()

Called After all Import steps are complete, allowing for final customizations or tweaking of the CRM instance.

BeforeApplicationRecordImport(ApplicationRecord)

Called Before each application record is imported.

BeforeImportStage()

Called before the Main Import process begins, after solutions and data.

CreateProgressItem(String)

Create and add new progress item.

CreateProgressItem(String, PDStage)

Create and add new progress item.

GetFinanceOperationsConfiguration(IEnumerable<String>)
GetImportName(Boolean)

Returns the Name of the import project.

GetNameOfImport(Boolean)

Returns the Name of the Import project.

GetProcessId(String, Boolean)

Gets the Id for a Dialog by Name.

InitializeCustomExtension()

Called to Initialize any functions in the Custom Extension.

InitializeExtension()

Initialize extension functionality.

IsRoleAssoicatedWithTeam(Guid, Guid)

Checks to see if the Team is already associated to the requested security role.

IsWorkflowActive(Guid)

Is a Workflow Active.

OverrideConfigurationDataFileLanguage(Int32, List<Int32>)

Allows the currently selected language for data import to be overridden by a user selection. if the LCID is not found, the developer selection is ignored and the default language import is used.

OverrideFinanceOperationsConfigurationSettings(String, String, IEnumerable<String>)

Parse a string and replace it with runtime settings.

OverrideSolutionImportDecision(String, Version, Version, Version, Version, ImportAction)

Called by the Solution Import subsystem after a decision is made by the import system.

PerApplicationRecordImport(ApplicationRecord)

Internal Use..> Do not call.

PostImport()

Internal Use..> Do not call.

PreImport()

Internal Use..> Do not call.

PreSolutionImport(String, Boolean, Boolean)
Obsolete.

Raised before the named solution is imported to allow for any configuration settings to be made to the import process

PreSolutionImport(String, Boolean, Boolean, Boolean, Boolean)

Raised before the named solution is imported to allow for any configuration settings to be made to the import process

RaiseFailEvent(String, Exception)

Raised a failed event to the caller.

RaiseFailEvent(String, Exception, PDStage)

Raised a failed event to the caller.

RaiseUpdateEvent(String, ProgressPanelItemStatus)

Raise a Status updated event.

RaiseUpdateEvent(String, ProgressPanelItemStatus, PDStage)

Raise a Status updated event.

RunSolutionUpgradeMigrationStep(String, String, String, Guid, Guid)

Is called during a solution upgrade when both solutions, old and Holding, are present in the system.

Events

AddNewProgressItem

Describes an event for new progress item.

UpdateProgressItem

Describes an event for update progress item.

Applies to