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.
/************** 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;