BlueCielo Meridian Enterprise 2013 VBScript API Reference | BlueCielo ECM Solutions

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

DocGenericEvent_BeforeReplaceContent event

Occurs before a user replaces the content of documents.

Syntax

DocGenericEvent_BeforeReplaceContent(Batch, SourceFile)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

SourceFile

A string containing the name of the source file selected by the user to replace the document’s content.

Remarks

Importing a document using drag and drop on a released document will create a new revision. Depending on your organization’s business process for this action, the document might need to be placed in different workflow state, for example, for review before the new content can be released. We recommend that you do that in this event. If this event handler is not customized, an Access is denied error will result and the action will fail. If the document should remain in the released state after the import, this event handler should still be implemented to place the document in a different workflow state and then the document released in the DocGenericEvent_AfterNewDocument event handler.

Related concepts

About the document generic events


Copyright © 2000-2013 BlueCielo ECM Solutions

www.bluecieloecm.com