11-24-2010 11:32 AM
11-29-2010 11:21 AM
12-02-2010 02:46 AM
function copyRenameFolder(path, destNode, newName) {
templateNode = companyhome.childByNamePath(path);
if(destNode.isContainer) {
if(templateNode.isContainer) {
//Copy node from a path to destNode and get the newNode at the new location as a ScriptNode
var newNode = templateNode.copy(destNode, true);
//Change the name of newNode
newNode.name = newName;
model.success = "true";
}
else {
model.success = "false";
}
}
else {
model.success = "false";
}
}
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.