07-01-2009 10:56 PM
var fileOutput = space.childByNamePath("fileOutput.txt");
if (fileOutput == null) {
fileOutput = space.createFile("fileOutput.txt");
}
var query = "TYPE:\"{http://www.alfresco.org/model/content/1.0}person\"";
var Results = search.luceneSearch(query);
for ( var i = 0; i < Results.length; i++) {
var pers = Results[i].properties["cm:userName"];
fileOutput.content = fileOutput.content + "\r\n" + pers;
}
07-02-2009 12:58 AM
for ( var i = 0; i < Results.length; i++) {
var pers = Results[i].properties["cm:userName"];
fileOutput.content = fileOutput.content + "\r\n" + pers;
}
var content = '';
for ( var i = 0; i < Results.length; i++) {
var pers = Results[i].properties["cm:userName"];
content += "\r\n" + pers;
}
fileOutput.content += content;
07-02-2009 04:16 AM
07-02-2009 04:58 AM
07-02-2009 05:50 AM
08-12-2009 11:34 PM
08-13-2009 04:14 AM
Hi All,Firstly, please start a new topic for an unrelated issue, don't tack it onto an existing one.
I want disable feature create new file .bin in /alt_data when i update content because i use cifs in alfresco from url: \\serverAlfresco:8080\alfresco it's create file .bin for new version when i paste files exist :roll:
Thanks for read and Regards
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.