Skip to content

$Documents.NewVersion

Overview

Document $Documents.NewVersion ( branchId, [ title ], [ versionNumber ] )
Creates a new document version in repository and returns a document instance.

Arguments

String branchId Branch determines the versions of between documents. Branch Id specifies root branch between versions. If specified branch is not found system automatically creates a first version based on branch. If found created new version is based on branch.

String title Title of document. If not specified title of last version is used.

String versionNumber Version number of document. If not specified automatically incremented by last version in branch. Version number is formatted like Major.Minor.Revision. Ex : 2.5.1

Remarks

Examples

See Also