<?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: Query latest publications in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257162#M210292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The asset collection that you're referring to is the one named "blogs.latest" in the root section of the website. The query in this asset collection is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;select d.* from cmis:document as d where in_tree(d, '${section:/blog}') and d.cmis:objectTypeId='D:ws:article' and d.cmis:name not like 'comment-thankyou.html' order by d.cmis:creationDate desc&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;To change this so that it returns the latest publications you might want something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;select d.* from cmis:document as d where in_tree(d, '${section:/publications}') and d.cmis:objectTypeId='D:ws:article' order by d.cmis:creationDate desc&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 08:10:51 GMT</pubDate>
    <dc:creator>bremmington</dc:creator>
    <dc:date>2011-02-08T08:10:51Z</dc:date>
    <item>
      <title>Query latest publications</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257161#M210291</link>
      <description>On the default Quick Start home page the right side displays a list of recent blogs. I would like to replace that with a list of recently updated documents from the publication folder. Need assistance on setting up the propery query string. Thanks in advance!</description>
      <pubDate>Fri, 04 Feb 2011 20:16:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257161#M210291</guid>
      <dc:creator>kweilbacher</dc:creator>
      <dc:date>2011-02-04T20:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Query latest publications</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257162#M210292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The asset collection that you're referring to is the one named "blogs.latest" in the root section of the website. The query in this asset collection is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;select d.* from cmis:document as d where in_tree(d, '${section:/blog}') and d.cmis:objectTypeId='D:ws:article' and d.cmis:name not like 'comment-thankyou.html' order by d.cmis:creationDate desc&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;To change this so that it returns the latest publications you might want something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;select d.* from cmis:document as d where in_tree(d, '${section:/publications}') and d.cmis:objectTypeId='D:ws:article' order by d.cmis:creationDate desc&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 08:10:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257162#M210292</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-02-08T08:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Query latest publications</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257163#M210293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just FYI, you may find the documentation useful here also - see &lt;/SPAN&gt;&lt;STRONG&gt;Configuring a dynamic asset collection&lt;/STRONG&gt;&lt;SPAN&gt; here &lt;/SPAN&gt;&lt;A href="http://www.alfresco.com/help/34/community/wcmqs/user/" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.com/help/34/community/wcmqs/user/&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 08:15:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257163#M210293</guid>
      <dc:creator>ben</dc:creator>
      <dc:date>2011-02-08T08:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Query latest publications</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257164#M210294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the fast response!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 22:44:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-latest-publications/m-p/257164#M210294</guid>
      <dc:creator>kweilbacher</dc:creator>
      <dc:date>2011-02-08T22:44:21Z</dc:date>
    </item>
  </channel>
</rss>

