09-05-2006 04:27 AM
<#list companyhome.childrenByLuceneSearch["(PATH:\"/app:company_home/cm:Extranet/cm:Test//*\") AND (TYPE:\"{http://www.alfresco.org/model/content/1.0}folder\" NOT TYPE:\"{http://www.alfresco.org/model/content/1.0}systemfolder\")"] as child>
[…]
<#/list>
This works fine for folders starting with an alphanumeric characters but if a folder starts with a number the template breaks (lots of our folders start with 2006_somename). The folder works fine in the web client, CIFS and all other interfaces but Freemarker fails to recognize this folder.{http://www.alfresco.org/model/content/1.0}_x0037_005_x0020_PTC (web client view shows "2005 PTC")
I'm replacing the spaces with _x0020_ but should I replace the first number as wel? "Replace the first number and only the first number if the spaces starts with this number to their strange value" doesn't sound like the ideal solution.
09-05-2006 04:48 AM
09-05-2006 04:52 AM
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.