Skip to content

SharePoint Exclusive Events in DMS

This article describes the events provided by DMS related to the SharePoint Upload/Delete process.

Publisher

codeunit 5492908 "SIM_DMS Event Publisher"

SharePoint Repository Exclusive Events

OnBeforeDeleteDocumentInSharePointRepository

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeDeleteDocumentInSharePointRepository(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamRecordSIMDMSDocumentLibrary: Record "SIM_DMS Document Library"; ParamRecordSIMDMSMappingHeader: Record "SIM_DMS Mapping Header")
begin
end;

Raised

This event triggers before the document entry gets deleted in the SharePoint repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Deleted.
ParamRecordSIMDMSDocumentLibrary Record "SIM_DMS Document Library" The Document Library of the Document.
ParamRecordSIMDMSMappingHeader Record "SIM_DMS Mapping Header" The Mapping that was used for the Document.

OnAfterDeleteDocumentInSharePointRepository

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnAfterDeleteDocumentInSharePointRepository(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamRecordSIMDMSDocumentLibrary: Record "SIM_DMS Document Library"; ParamRecordSIMDMSMappingHeader: Record "SIM_DMS Mapping Header")
begin
end;

Raised

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

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Deleted.
ParamRecordSIMDMSDocumentLibrary Record "SIM_DMS Document Library" The Document Library of the Document.
ParamRecordSIMDMSMappingHeader Record "SIM_DMS Mapping Header" The Mapping that was used for the Document.

OnBeforeCreateFolderOnDocumentUploadToSharePoint

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeCreateFolderOnDocumentUploadToSharePoint(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamFolderNameText: Text)
begin
end;

Raised

This event triggers before the Creation of the Folder in the SharePoint repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Created.
ParamFolderNameText Text The Name of the Folder that gets Created.

OnBeforeDocumentUploadToSharePoint

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeDocumentUploadToSharePoint(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamFileNameText: Text)
begin
end;

Raised

This event triggers before the creation of the document in the SharePoint repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Created.
ParamFileNameText Text The Name File that gets created in the SharePoint Repository.

OnAfterSuccessfulDocumentUploadAttemptToSharePoint

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnAfterSuccessfulDocumentUploadAttemptToSharePoint(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamFileNameText: Text)
begin
end;

Raised

This event triggers after the successful creation of the document in the SharePoint repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that was Succesfully Created.
ParamFileNameText Text The Name File that gets created in the SharePoint Repository.

OnAfterFailedDocumentUploadAttemptToSharePoint

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnAfterFailedDocumentUploadAttemptToSharePoint(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry"; ParamFileNameText: Text)
begin
end;

Raised

This event triggers after the failed creation of the document in the SharePoint repository.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that Failed in the Creation.
ParamFileNameText Text The Name File that gets created in the SharePoint Repository.

OnBeforeClearDocumentEntryBlobAfterUploadToSharePoint

1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeClearDocumentEntryBlobAfterUploadToSharePoint(var ParamRecordSIMDMSDocumentEntry: Record "SIM_DMS Document Entry")
begin
end;

Raised

This event triggers before the document that is stored in a blob is cleared in the DMS entry.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Document Entry that gets Created.