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.
var today = new Date(); //Start date var sdate="2010\-01\-01T00:00:00"; //end date, today one hour early var tdate=today.getFullYear()+"\-"+(today.getMonth()+1)+"\-"+today.getDate()+"T"+(today.getHours()-1)+":00:00"; //var spath="'+PATH:\""+aprobados.displayPath +"/\" + "; var spath="+PATH:\"/app:company_home/cm:My_space/cm:testing//*\" +"; var scontent="@\\{http\\://www.alfresco.org/model/content/1.0\\}content.mimetype:image/tiff + "; var qdate="@cm\\:modified:[" + sdate + " TO " + tdate +"]"; //var strq=spath+scontent+qdate; var strq=spath+scontent+qdate; // Do the search and save the vales var nodes=search.luceneSearch(strq);
@cm:modified:["2010-00-01T00:00:00" TO "2014-09-24T10:00:00"]
"d_dictionary.datatype.d_datetime.analyzer=org.alfresco.repo.search.impl.lucene.analysis.DateTimeAnalyser"