<?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 Re: Sort using metadata in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sort-using-metadata/m-p/242790#M195920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In freemarker sorting a &amp;lt;#list&amp;gt; works like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#list docs?sort_by(["properties", "cm:name"]) as child&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You might have to tell freemarker that the property you're sorting on is a date and you have to make sure that all the objects have this property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2009 09:46:04 GMT</pubDate>
    <dc:creator>kbonnet</dc:creator>
    <dc:date>2009-07-28T09:46:04Z</dc:date>
    <item>
      <title>Sort using metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sort-using-metadata/m-p/242789#M195919</link>
      <description>HiI created a web form and rendering Freemarker template.&amp;nbsp; In my rendering template i have something like&amp;lt;#assign docs = alf.parseXMLDocuments('tax_relief', '/content/tax relief/source')&amp;gt;&amp;lt;#list docs as child&amp;gt;How to sort the docs by its creation time. Because i need to get the data from m</description>
      <pubDate>Fri, 24 Jul 2009 23:00:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sort-using-metadata/m-p/242789#M195919</guid>
      <dc:creator>creddy2001</dc:creator>
      <dc:date>2009-07-24T23:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sort using metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sort-using-metadata/m-p/242790#M195920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In freemarker sorting a &amp;lt;#list&amp;gt; works like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#list docs?sort_by(["properties", "cm:name"]) as child&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You might have to tell freemarker that the property you're sorting on is a date and you have to make sure that all the objects have this property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:46:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sort-using-metadata/m-p/242790#M195920</guid>
      <dc:creator>kbonnet</dc:creator>
      <dc:date>2009-07-28T09:46:04Z</dc:date>
    </item>
  </channel>
</rss>

