<#assign weekms=1000*60*60*24*7>
<#assign count=0>
<#– get the filter mode from the passed in args –>
<#– filters: 0=all, 1=word, 2=html, 3=pdf, 4=recent –>
<#if args.f?exists && args.f?length!=0><#assign filter=args.f?number><#else><#assign filter=0></#if>
<#if args.h?exists>
<#assign docs=companyhome.nodeByReference[args.h].children?sort_by('name')>
<#else>
<#assign docs=companyhome.childrenByLuceneSearch[args.q]?sort_by('name')>
</#if>
<#list docs as d>
<#if d.isDocument>
<#if (filter=0) ||
(filter=1 && d.mimetype="application/msword") ||
(filter=2 && d.mimetype="text/html") ||
(filter=3 && d.mimetype="application/pdf") ||
(filter=4 && (dateCompare(d.properties["cm:modified"],date,weekms) == 1 || dateCompare(d.properties["cm:created"], date, weekms) == 1))>
<#assign count=count+1>
<#assign weekms=1000*60*60*24*7>
<#assign count=0>
<#– get the filter mode from the passed in args –>
<#– filters: 0=all, 1=word, 2=html, 3=pdf, 4=recent –>
<#if args.f?exists && args.f?length!=0><#assign filter=args.f?number><#else><#assign filter=0></#if>
<#if args.h?exists>
<#assign docs=companyhome.nodeByReference[args.h].children?sort_by('displayPath ')>
<#else>
<#assign docs=companyhome.childrenByLuceneSearch[args.q]?sort_by('displayPath ')>
</#if>
<#list docs as d>
<#if d.isDocument>
<#if (filter=0) ||
(filter=1 && d.mimetype="application/msword") ||
(filter=2 && d.mimetype="text/html") ||
(filter=3 && d.mimetype="application/pdf") ||
(filter=4 && (dateCompare(d.properties["cm:modified"],date,weekms) == 1 || dateCompare(d.properties["cm:created"], date, weekms) == 1))>
<#assign count=count+1>
Content from pre 2016 and from language groups that have been closed.
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.