Skip to content

NewVersion

Creates a new document version in the repository and returns a document instance.

1
$Documents.NewVersion(branchId: string, title?: string, versionNumber?: string):Document

Parameters

string branchId
    The branch ID of the version to create.

string title optional
    The title of the version.

string versionNumber optional
    The version number of the version.

See Also