Allows to access document repository.

You can use the $Documents.New method to create a new document and store it with Document.Save method.

Document repository also allows to store different versions of document with branches. Branch is a basically unique identifier of group of documents. Branches are automatically sorted with Document.Version property and biggest version is specifies the last version of the branch. To create a new version of document you can use the $Documents.NewVersion to create a new document in same branch. To find last version of branch you can use the $Documents.GetLastVersion method.

If you need to access specific version of branch you can use the $Documents.Get method.

  • No labels