AddNewDocument()

Creates a new document in the GroupWise library.

Token ID

AFTKN_DM_NEW_DOC or 858

Syntax

ANSISTRING AddNewDocument([ANSISTRING Extension])

Parameters

Extension As ANSISTRING

(Optional) Text string to specify extension as seen on GW property sheet. String specifier for File extension field listed as a property of the document version.

Return Values

DocIDStr As ANSISTRING

DocumentID. Returns the Library, Document Number, and version in the string format Domain.PostOffice.Library.Doc#.Ver#.

See Also

Documents.Add method in the Object API documentation.