Skip to content

Migration Events

This article describes the events provided by Document Central related to the SharePoint Migration.

Publisher

codeunit 5492908 "SIM_DMS Event Publisher"

Migration Events

OnBeforeCreateFolderOnRepositoryMigrationToSharePoint

AL
1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeCreateFolderOnRepositoryMigrationToSharePoint(ParamTargetUrlText: Text; ParamTargetSubsiteText: Text; ParamTargetDocLibText: Text; ParamFoldernameText: Text)
begin
end;

Raised

This event triggers before the folder for the SharePoint is created in the repository .

Parameter

Name Type Description
ParamTargetUrlText Text The Url of the SharePoint.
ParamTargetSubsiteText Text The Subsite where the Folder is Created.
ParamFoldernameText Text The Folder name that gets created.

OnBeforeDeleteSourceMigrationRecordInRepository

AL
1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeDeleteSourceMigrationRecordInRepository(ParamRecordSIMDMSSharePointMigration: Record "SIM_DMS SharePoint Migration"; ParamSourceTmpServerRelativeUrlText: Text)
begin
end;

Raised

This event triggers before the source entry is deleted in the SharePoint repository.

Parameter

Name Type Description
ParamRecordSIMDMSSharePointMigration Record "SIM_DMS SharePoint Migration" The Migration Entry where helpful information is stored.
ParamSourceTmpServerRelativeUrlText Text The URL of the Source File that gets deleted in the Repository.

OnAfterDeleteSourceMigrationRecordInRepository

AL
1
2
3
4
[IntegrationEvent(false, false)]
procedure OnAfterDeleteSourceMigrationRecordInRepository(ParamRecordSIMDMSSharePointMigration: Record "SIM_DMS SharePoint Migration"; ParamSourceTmpServerRelativeUrlText: Text)
begin
end;

Raised

This event triggers after the source entry was deleted in the SharePoint repository.

Parameter

Name Type Description
ParamRecordSIMDMSSharePointMigration Record "SIM_DMS SharePoint Migration" The Migration Entry where helpful information is stored.
ParamSourceTmpServerRelativeUrlText Text The URL of the Source File that gets deleted in the Repository.