DocumentReplace()

Replaces the document in the document library specified by the DocIDStr with the document specified with the file name.

Token ID

AFTKN_DM_REPLACE_DOC or 892

IMPORTANT:DocIDStr in the form Domain.PostOffice.Library:Doc#.Ver# for ObjectAPI reference: LibraryID: Doc#.Ver#. The DocIDStr is a subset of the object DocumentVersion.ODMADocumentID in the ObjectAPI.

Syntax

VOID DocumentReplace(ANSISTRING DocIDStr; ANSISTRING Filename)

Parameters

DocIDStr As ANSISTRING

Document number for the document to replace.

Filename As ANSISTRING

Name of the document to replace.