05-26-2008 05:51 AM
05-26-2008 06:10 AM
05-26-2008 08:06 AM
05-26-2008 08:27 AM
var myArbo = "";
var decalage ="";
/**
*/
function generateArborescence(myNode, decalage2){
var decalageBis = decalage2;
decalageBis = decalageBis + " " + " "+ " " + " ";
if(myNode.isContainer){
var myNodechildren = myNode.children;
myArbo = myArbo +"<br/>"+decalageBis+" rep : ";
myArbo = myArbo + myNode.name;
// on parcourt les enfants
var j=0;
for(j=0;j<myNodechildren.length;j++){
generateArborescence(myNodechildren[j], decalageBis);
}
}else{
myArbo = myArbo +"<br/>"+decalageBis+" doc : ";
myArbo = myArbo +myNode.name;
}
}
// ———————————————- Fin des fonctions ——————————————————————
// recuperation des arguments
var myArgsDirectory = args.myDirectory;
// on recupere le repertoire de depart
var folder = roothome.childByNamePath(myArgsDirectory);
// si le point de depart n'est pas un repertoire
if (folder == undefined || !folder.isContainer){
status.code = 500;
status.message = "Folder *" + args.myDirectory + "* not found.";
status.redirect = true;
}
generateArborescence(folder,"");
model.lstDocuments = myArbo;
05-26-2008 08:56 AM
}else{
myArbo = myArbo +"<br/>"+decalageBis+" doc : ";
myArbo = myArbo +myNode.name;
var path = search.luceneSearch ("+PATH:\"" + scriptNode.qnamePath );
05-26-2008 09:03 AM
05-26-2008 10:10 AM
05-26-2008 10:22 AM
05-27-2008 05:58 AM
05-27-2008 08:47 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.