11-25-2010 06:35 PM
11-25-2010 06:46 PM
11-26-2010 01:47 PM
11-29-2010 04:06 AM
/**************
Lista todos los contenidos de tipo .doc
****************/
var logFile = space.childByNamePath("listado de "+space.name+".txt");
if (logFile == null)
{
logFile = space.createFile("listado de "+space.name+".txt");
}
var log = "";
listar(space);
function listar(nodeVar) {
if (nodeVar.isDocument && nodeVar.mimetype == "application/msword" ) {
log+= "\n"+nodeVar.displayPath+"/"+nodeVar.name;
} else if (nodeVar.isContainer) {
//logger.log("Nodo padre" + nodeVar.name);
var childrenList = nodeVar.children;
for (var i = 0; i < childrenList.length; i++) {
// logger.log("Nodo hijo" + childrenList[i].name);
listar(childrenList[i]);
}
}
}
logFile.content = log;
11-30-2010 03:38 PM
12-01-2010 02:51 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.