<?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 ACS- DB query to get the UUIDs of all documents belonging to a particular site? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/acs-db-query-to-get-the-uuids-of-all-documents-belonging-to-a/m-p/50209#M19236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;I am trying to get all the UUID of the documents in a particular ACS site- All documents in the site are of a custom doctype(lets say: customDocType)-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;I am using the below db query:&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;SELECT&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;nodes.UUID&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;FROM&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;alf_node nodes, alf_qname names&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;WHERE&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;nodes.type_qname_id=&lt;/SPAN&gt;&lt;A href="http://names.id/" style="color: #000000; background: #ffffff; font-weight: bold; text-decoration: underline; font-size: 12px;" target="_blank" rel="nofollow noopener noreferrer"&gt;names.id&lt;/A&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #000000; background-color: #ffffff; font-size: 12px;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;AND names.local_name='customDocType';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;This gives me a list of UUIDs across the repository-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;Could any one let me know whether there is an additional query condition I could add to the above db query which would give me only the UUIDs of documents within a particular ACS site.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;Thank You...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2019 21:32:15 GMT</pubDate>
    <dc:creator>paiyyavj13</dc:creator>
    <dc:date>2019-02-07T21:32:15Z</dc:date>
    <item>
      <title>ACS- DB query to get the UUIDs of all documents belonging to a particular site?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acs-db-query-to-get-the-uuids-of-all-documents-belonging-to-a/m-p/50209#M19236</link>
      <description>Hi,I am trying to get all the UUID of the documents in a particular ACS site- All documents in the site are of a custom doctype(lets say: customDocType)-I am using the below db query&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ELECTnodes.UUIDFROMalf_node nodes, alf_qname namesWHEREnodes.type_qname_id=names.id&amp;nbsp;AND names.local_name='customDocT</description>
      <pubDate>Thu, 07 Feb 2019 21:32:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acs-db-query-to-get-the-uuids-of-all-documents-belonging-to-a/m-p/50209#M19236</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2019-02-07T21:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: ACS- DB query to get the UUIDs of all documents belonging to a particular site?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acs-db-query-to-get-the-uuids-of-all-documents-belonging-to-a/m-p/50210#M19237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Querying documents for a specific site via the database is not possible using a simple query condition. You would need to create a stored procedure / function that is able to recursively iterate over the&amp;nbsp;folder/file structure (via alf_child_assoc table) to do the actual query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one of the main reasons that Alfresco cannot / does not support SITE or ANCESTOR queries as transactional metadata queries (TMQ) using Alfresco FTS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 10:01:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acs-db-query-to-get-the-uuids-of-all-documents-belonging-to-a/m-p/50210#M19237</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-02-08T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: ACS- DB query to get the UUIDs of all documents belonging to a particular site?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acs-db-query-to-get-the-uuids-of-all-documents-belonging-to-a/m-p/50211#M19238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Axel...&lt;/P&gt;&lt;P&gt;So getting what I need from the DB queries is unlikely...&lt;/P&gt;&lt;P&gt;I am going to opt the JavaScript API to get what i need through a custom script-&lt;/P&gt;&lt;P&gt;siteDocLibNode.childFileFolders(files, folders, ignoreTypes, skipOffset, maxItems, requestTotalCountMax, sortProp, sortAsc, queryExecutionId);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good day...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 18:19:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acs-db-query-to-get-the-uuids-of-all-documents-belonging-to-a/m-p/50211#M19238</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2019-02-08T18:19:51Z</dc:date>
    </item>
  </channel>
</rss>

