You are here: Understanding the Meridian event procedures > About the document generic events > DocGenericEvent_PrepareCommand event

DocGenericEvent_PrepareCommand event

Occurs after a user selects a document command on the shortcut menu to act upon the selected document.

Syntax

DocGenericEvent_PrepareCommand(Batch, CmdID)
Parameters
Name Description

Batch

An object that represents the current batch of documents.

CmdID

A string that identifies the internal name of the command. For the identifiers that may be used, see Meridian Enterprise command identifiers.

Remarks

This event is intended to be used to set the Batch.ProcessAsBatch property to True before programmatically adding documents with the Batch.AddDocuments method to a batch in a custom command's Initialize event.

Related concepts

About the document generic events


www.bluecieloecm.com