<?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: Display documents with categories using Templates in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195795#M148925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow!! - That worked.. thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2009 11:22:40 GMT</pubDate>
    <dc:creator>aswini</dc:creator>
    <dc:date>2009-01-23T11:22:40Z</dc:date>
    <item>
      <title>Display documents with categories using Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195791#M148921</link>
      <description>Hi All,I am trying to create a Presentation Template (Freemarker template) to customise my folder view. On the selected space, the custom view should show the details only for those documents that contain categories. I have written the following FTL template. But, it shows a big vacant space in my c</description>
      <pubDate>Thu, 22 Jan 2009 15:29:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195791#M148921</guid>
      <dc:creator>aswini</dc:creator>
      <dc:date>2009-01-22T15:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Display documents with categories using Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195792#M148922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think it is possible to iterate just over the direct children of a space with&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#list space.children as child&amp;gt;&lt;BR /&gt;….&lt;BR /&gt;&amp;lt;/#list&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The freemarker reference page has examples &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/FreeMarker_Template_Cookbook#Documents_in_User.27s_Home_Space_Example" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/FreeMarker_Template_Cookbook#Documents_in_User.27s_Home_Space_Example&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 17:21:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195792#M148922</guid>
      <dc:creator>lotharm</dc:creator>
      <dc:date>2009-01-22T17:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Display documents with categories using Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195793#M148923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Lothar. That works for me, if 'Allow Categorisation' is not set for the document. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I allow categorisation for the document, without assigning any categories, it populates the document name with the Categories space empty in the table. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we change the code to show only those documents which have categories assigned to it please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eg: It should not look like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#0040FF;"&gt;Name: Demos for Training.txt&lt;BR /&gt;Last Modified:22 Jan 2009&lt;BR /&gt;Categories:&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aswini&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 10:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195793#M148923</guid>
      <dc:creator>aswini</dc:creator>
      <dc:date>2009-01-23T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display documents with categories using Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195794#M148924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why not add a not-empty guard?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#if child.properties["cm:categories"]?size gt 0 &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 10:36:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195794#M148924</guid>
      <dc:creator>lotharm</dc:creator>
      <dc:date>2009-01-23T10:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Display documents with categories using Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195795#M148925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow!! - That worked.. thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 11:22:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-documents-with-categories-using-templates/m-p/195795#M148925</guid>
      <dc:creator>aswini</dc:creator>
      <dc:date>2009-01-23T11:22:40Z</dc:date>
    </item>
  </channel>
</rss>

