You can manage document versions using scripts.
Use the following |
Description |
---|---|
Freeze(ByVal Comment As String = "") As Boolean |
Method on RepositoryDocumentBase that allows you to create an archived version of a document |
Unfreeze() As Boolean |
Method on RepositoryDocumentBase that allows you to modify the current version in the repository to reflect changes performed on your local machine |
Example:
MyDocument.Freeze "Update required"
MyDocument.Unfreeze
Use the following |
Description |
---|---|
Lock(ByVal Comment As String = "") As Boolean |
Method on RepositoryDocumentBase that allows you to prevent other users from updating the consolidated version |
Unlock() As Boolean |
Method on RepositoryDocumentBase that allows other users to update the consolidated version |
Example:
MyDocument.Lock "Protection required"
MyDocument.Unlock