<?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 how to count user related site's documents in alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293808#M246938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to count user related site's documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used following url . but it return count of all documents.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://127.0.0.1:8080/share/proxy/alfresco/slingshot/doclib/doclist/documents/node/alfresco/sites/home?filter=all" title="http://127.0.0.1:8080/share/proxy/alfresco/slingshot/doclib/doclist/documents/node/alfresco/sites/home?filter=all" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/share/proxy/alfresco/slingshot/doclib/doclist/documents/node/alfresco/sites/home?filter=all&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;janaka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 18:12:58 GMT</pubDate>
    <dc:creator>janaka1984</dc:creator>
    <dc:date>2016-12-06T18:12:58Z</dc:date>
    <item>
      <title>how to count user related site's documents in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293808#M246938</link>
      <description>Hi, i need to count user related site's documents.i have used following url . but it return count of all documents.http://127.0.0.1:8080/share/proxy/alfresco/slingshot/doclib/doclist/documents/node/alfresco/sites/home?filter=all&amp;nbsp;Regardsjanaka</description>
      <pubDate>Tue, 06 Dec 2016 18:12:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293808#M246938</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-12-06T18:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to count user related site's documents in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293809#M246939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explan what you consider to be "user related site documents"? Are these all documents that the specific user "owns", has created and/or modified or which are somehow "tagged" for the user?&lt;/P&gt;&lt;P&gt;The URL you have used refers to an internal API / operation which may change between Alfresco versions. Please be aware that it is not recommended to use these kinds of APIs for integration with other applications. That is what CMIS or the public ReST API are for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 14:38:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293809#M246939</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-12-07T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to count user related site's documents in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293810#M246940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have five sites ("ABC", "XYZ".......) which contains documents , then user&amp;nbsp; ("omega") is assigned&amp;nbsp; into two of those sites. &lt;/P&gt;&lt;P&gt;&amp;nbsp;when i am logging to USER ('omega") dashboard, i&amp;nbsp; need to show total count of documents which is stored in above two sites, and need to show meta data of rendered document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 16:25:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293810#M246940</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-12-07T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to count user related site's documents in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293811#M246941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know there is no such api directly.&lt;BR /&gt;The best way is to customize your own webscript api ,you can implement your requirement by combining site servcie and StatsService .&lt;BR /&gt;Another option is try to use doclist data webscript to get all documents of all sites that a user have permissions ,like this&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://localhost:8080/alfresco/s/slingshot/doclib/doclist/documents/node/alfresco/sites/home?limitResults=-1&amp;amp;filter=all" rel="nofollow noopener noreferrer" target="_blank"&gt;http://localhost:8080/alfresco/s/slingshot/doclib/doclist/documents/node/alfresco/sites/home?limitResults=-1&amp;amp;filter=all&lt;/A&gt;&lt;BR /&gt;and use totalRecords property. but it has poor performance and by default the max number can't be greater than 1000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 19:36:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293811#M246941</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-07T19:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to count user related site's documents in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293812#M246942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have used my own service with &lt;STRONG&gt;search.luceneSearch()&lt;/STRONG&gt; to get documents from multiple sites.&amp;nbsp; To get user related sites, i have used following existing&amp;nbsp; service&lt;/P&gt;&lt;P&gt;var currentUser = person.properties.userName;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;var sites = siteService.listUserSites(currentUser, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after read this sites, i could create PATH and send it to &lt;STRONG&gt;search.luceneSearch()&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 09:41:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-count-user-related-site-s-documents-in-alfresco/m-p/293812#M246942</guid>
      <dc:creator>janaka1984</dc:creator>
      <dc:date>2016-12-09T09:41:46Z</dc:date>
    </item>
  </channel>
</rss>

