04-28-2006 10:09 AM
<#list companyhome.childrenByLuceneSearch(TEXT="3MF") as doc>
<#list companyhome.childrenByLuceneSearch(PATH:"/cm:generalclassifiable//cm:D6DocType/MPR/member") as doc>
05-01-2006 05:57 AM
<#list companyhome.childrenByLuceneSearch("TEXT:3MF") as doc>
If you want to perform a PATH search or something that already contains quote characters then you will need to escape the quote characters:05-02-2006 04:45 AM
Error during processing of the template 'Expected method. companyhome.childrenByLuceneSearch evaluated instead to freemarker.template.SimpleHash on line 6, column 8 in workspace://SpacesStore/a287ff98-d6b4-11da-b76a-236c1d63a3ab.'. Please contact your system adminstrator.
05-02-2006 05:29 AM
<#list companyhome.childrenByLuceneSearch("TEXT:3MF") as doc>
<#list companyhome.childrenByLuceneSearch("TEXT:MF") as doc>
11:20:25,361 ERROR [ui.common.Utils] Error during processing of the template 'Fa
iled to execute search: TEXT:3MF'. Please contact your system adminstrator.
org.alfresco.service.cmr.repository.TemplateException: Error during processing o
f the template 'Failed to execute search: TEXT:3MF'. Please contact your system
adminstrator.
05-02-2006 06:55 AM
05-02-2006 09:18 AM
<#list companyhome.childrenByLuceneSearch["PATH:\"//cm:generalclassifiable//cm:D6Activity//cm:M4//cm:M4QoE//member\""] as member>
and I expected it to yield a list of all the documents that had been categorized as M4QoE. I know there are 4 documents that fullfill this requirement, but all I got was an empty list. (At least, it was not an error message. )
<table>
<#list companyhome.childrenByLuceneSearch["PATH:\"//cm:generalclassifiable//cm:D6Activity//*\""] as child>
<tr><td>${child}</td></tr>
</#list>
</table>
<table>
<#list companyhome.childrenByLuceneSearch["PATH:\"//cm:generalclassifiable//cm:D6Activity//cm:SDRFLAI//member*\""] as member>
<tr><td><a href="/alfresco${member.url}" title="Download this file">${member.properties.name}</a></td></tr>
</#list>
</table>
05-03-2006 04:01 AM
<table>
<#list companyhome.childrenByLuceneSearch["PATH:\"/cm:generalclassifiable/*\""] as category>
<tr><td>${category.name}</td></tr>
</#list>
</table>
05-03-2006 04:24 AM
<table>
<#list companyhome.childrenByLuceneSearch["PATH:\"/cm:generalclassifiable/cm:D6Activities/*\""] as category>
<tr><td>${category.name}</td></tr>
</#list>
</table>
<table>
<#list companyhome.childrenByLuceneSearch["PATH:\"/cm:generalclassifiable/cm:DesicsActivities/*\""] as category>
<tr><td>${category.name}</td></tr>
</#list>
</table>
ActivityOne
ActivityTwo
ActivityThree
05-03-2006 09:17 AM
<table>
<#list companyhome.childrenByLuceneSearch["+PATH:\"/cm:generalclassifiable/cm:Desics/*\" -PATH:\"/cm:generalclassifiable/cm:Desics/member\""] as category>
<tr><td>${category.name}</td></tr>
</#list>
</table>
produces the following output:ResearchThis is consistent with what I had expected.
Contract
Type
Outlet
<table>
<#list companyhome.childrenByLuceneSearch["PATH:\"/cm:generalclassifiable/cm:Desics/*\""] as category>
<tr><td>${category.name}</td></tr>
</#list>
</table>
Research
Contract
Type
Outlet
ResearchGroups
Samsung CGA M4 MMPR April 2006.doc
Samsung CGA M4 MMPR March 2006.doc
Samsung CGA M4 TMPR March 2006.doc
Samsung DDT M4 TMPR March 2006.doc
Samsung INT ADRES AVC M4 MMPR March 2006.doc
Samsung INT ADRES AVC M4 TMPR March 2006.doc
Samsung INT SDR M4 MMPR March 2006.doc
Samsung INT SDR M4 TMPR March 2006.doc
…..
05-03-2006 09:31 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.