Skip to content

Content Type Selection Events in DMS

This article describes the events provided by DMS Related to the Content type selection.

Publisher

Codeunit 5492908 "SIM_DMS Event Publisher"

Content Type Selection Events

OnBeforeOpenContentTypeSelectionCardOnDocumentUpload

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

Raised

This event is triggered when uploading a document via DMS right before the content type selection page opens.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Entry of the Document that is generated in this moment.
ParamRecordRef RecordRef The RecordReference of the Entry where the document should be archived to.
ParamRecordSIMDMSMappingHeader Record "SIM_DMS Mapping Header" The Record of the Mapping that is used for the Document.

OnAfterOpenContentTypeSelectionCardOnDocumentUpload

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

Raised

This event is triggered when uploading a document via DMS a content type selection page opens right after the page closes.

Parameter

Name Type Description
ParamRecordSIMDMSDocumentEntry Record "SIM_DMS Document Entry" The Entry of the Document that is generated in this moment.
ParamRecordRef RecordRef The RecordReference of the Entry where the document should be archived to.
ParamRecordSIMDMSMappingHeader Record "SIM_DMS Mapping Header" The Record of the Mapping that is used for the Document.