08-27-2008 09:15 AM
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);
09-23-2008 07:20 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.