You are here: COM API reference > Events > BeforeReleaseDocument event

BeforeReleaseDocument event

This event occurs when the user selects to release a document from a work area.

Syntax

Private Sub AMUIExtension_BeforeReleaseDocument(
          ByVal WP As AMEDM.IAMWorkPackage,
          ByVal Document AsAMEDM.IAMDocument,
          ByVal ReAssign As Boolean,
          Abort As Boolean)
Parameters
Name Description

WP

The work area from which the document will be released.

Document

The document that will be released.

ReAssign

This argument is True if the user selected to reassign the document after releasing it. See Remarks.

Abort

Setting this argument to True will abort the operation. The AfterReleaseDocument event will not occur

Remarks

If ReAssign is True, the server will implicitly reassign the document to the work area. There will be no separate event for assigning the document.

See About events that occur for both documents and work areas.


www.bluecieloecm.com