$Documents.Get
Overview¶
Document $Documents.Get ( id )
Returns a document instance from repository if found, otherwise null.
Arguments¶
String id Id number of document
Remarks¶
Examples¶
Publishing a new version for existing document;
var existingDocument = $Documents.Get(id); var newVersion = $Documents.NewVersion(existingDocument.BranchId,'My Document Version','2.0.0'); // publish document under Test\Documents folder path. newVersion.Publish('Test\Documents');