SharePoint Exclusive Events in Document Central
This article describes the events provided by Document Central related to the SharePoint Upload/Delete process.
Publisher
codeunit 5492908 "SIM_DMS Event Publisher"
SharePoint Repository Exclusive Events
OnBeforeDeleteDocumentInSharePointRepository
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
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
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
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
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
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
Raised
This event triggers before the document that is stored in a blob is cleared in the Document Central entry.
Parameter
Name | Type | Description |
---|---|---|
ParamRecordSIMDMSDocumentEntry | Record "SIM_DMS Document Entry" | The Document Entry that gets Created. |