<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ftl Sorting in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67656#M43260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a template that lists out children of a certain type.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#list space.childrenByXPath[".//*[subtypeOf('msi:event')]"] as child&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to order the results.&amp;nbsp; I need to order the results by a custom property in the display.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could there be a way to do it with a Lucene query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Feb 2007 18:01:32 GMT</pubDate>
    <dc:creator>jbarrett</dc:creator>
    <dc:date>2007-02-19T18:01:32Z</dc:date>
    <item>
      <title>ftl Sorting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67656#M43260</link>
      <description>I have a template that lists out children of a certain type.&amp;nbsp; &amp;lt;#list space.childrenByXPath[".//*[subtypeOf('msi:event')]"] as child&amp;gt;Is there a way to order the results.&amp;nbsp; I need to order the results by a custom property in the display.&amp;nbsp; Could there be a way to do it with a Lucene query?ThanksJo</description>
      <pubDate>Mon, 19 Feb 2007 18:01:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67656#M43260</guid>
      <dc:creator>jbarrett</dc:creator>
      <dc:date>2007-02-19T18:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: ftl Sorting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67657#M43261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you can sort using the FreeMarker built-in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#list space.childrenByXPath[".//*[subtypeOf('msi:event')]"]?sort_by(['properties', 'msi:myproperty']) as child&amp;gt; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Replacing 'msi:myproperty' with your custom property name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:06:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67657#M43261</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-02-21T10:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: ftl Sorting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67658#M43262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I should also mention that sorting is possible using our Lucene integration - but it is not exposed in the FreeMarker API yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:27:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67658#M43262</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-02-21T10:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftl Sorting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67659#M43263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; Works great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I reverse these results?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 20:32:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67659#M43263</guid>
      <dc:creator>jbarrett</dc:creator>
      <dc:date>2007-02-21T20:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: ftl Sorting</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67660#M43264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use ?reverse e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#list space.childrenByXPath[".//*[subtypeOf('msi:event')]"]?sort_by(['properties', 'msi:myproperty'])&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt;?reverse&lt;/SPAN&gt;&lt;SPAN&gt; as child&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:31:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftl-sorting/m-p/67660#M43264</guid>
      <dc:creator>mikef</dc:creator>
      <dc:date>2007-04-12T11:31:34Z</dc:date>
    </item>
  </channel>
</rss>

