02-18-2008 09:32 AM
var nodeParent = search.findNode("workspace://SpacesStore/" + nodeId);
for(var i=0 ; i < nodeParent.length; i++)
{
if (nodeParent.name == spaceTitle)
nodeNew = "exists";
}
et ça ne marche pas…02-18-2008 09:36 AM
// find the backup folder - create if not already exists
var backupFolder = space.childByNamePath("Backup");
if (backupFolder == null && space.hasPermission("CreateChildren"))
{
// create the folder for the first time
backupFolder = space.createFolder("Backup");
}
if (backupFolder != null && backupFolder.hasPermission("CreateChildren"))
02-19-2008 06:48 AM
var nodeParent = search.findNode("workspace://SpacesStore/" + nodeId);
if (!nodeParent.childByNamePath(spaceName))
{
nodeNew = nodeParent.createFolder(spaceName);
}
02-19-2008 11:07 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.