As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var sourcePath = "myDocuments/Kallelse.dot"; // Attemt to get the node for the sourceDocument var sourceNode = userhome.childByNamePath(sourcePath); // Copy the node to the current directory and rename it. var destinationNode = sourceNode.copy(space); destinationNode.name = destinationNode.id + ".doc"; // Checkout the document to the currentUsers homespace. destinationNode.checkout(userhome);