var name = document.parent.name;
var cliente = document.properties["let:cliente"] = name;
var area = document.properties["let:area"] = "Mia area";
document.save();
var luceneQuery = "PATH:\"/app:company_home/cm:Clienti/*\"";
var results = search.luceneSearch(luceneQuery);
…
La variabile results è un vettore di nodi risultato che rappresenta tutti i figli di primo livello per lo space Clienti.
var query = ("PATH:\"/app:company_home/st:sites/cm:let/cm:documentLibrary/cm:Tax/cm:Clienti/*\"AND TYPE:\"cm:folder\" AND NOT TYPE:\"cm:systemfolder\"");
var result = search.luceneSearch(query);
for each(d in result){
var name = d.name;
d.properties["let:cliente"] = name;
d.save();
}
Archive content from product discussions in Italian.
This group is now closed and content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.