09-04-2007 12:17 AM
09-04-2007 05:45 AM
1. Can i retrieve 2 sub spaces using 1 template?Sure. In Freemarker you can iterate through the child spaces:
<#list space.children?sort_by('name') as child>
<#if child.isContainer>
…an inner loop to get documents…
</#if>
</#list>
2. Is there any way to sort my list into my preferred sequence because currently all the documents are ordered by name. I think it would be critical if i add number in front of my file name because in future my user might need to change the sequence of the documents again.That depends what your sequence needs to be. If it's a property then you can use the Freemarker sort_by function (see above) otherwise you might have to use Javascript to sort the list manually.
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.