Hello everybody,
I need your help for this script plz.
i want search and move the doc, but only the file who are upload not the files on the folders. actually only the file on the folder are moved and not the file upload
my script is :
<code>
// log the docs that currently contain the word 'Alfresco' to a log file
var destination = companyhome.childByNamePath("/sites/sodip/documentLibrary/BON_LIVRAISON");
var docs = search.luceneSearch("+PATH:\"/app:company_home/st:sites/cm:sodip/cm:documentLibrary/cm:_x0031__x0020_SCAN/*\"+TEXT:Livr. and Bon");
for (var i=0; i<docs.length; i++);
for (var i=0; i<docs.length; i++)
{
docs.move(destination);
};
<code>
is someone can help.
Thank you.
Alfresco 4.2.d
windows serveur 2003