<?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 calculate Files,folder count in document library and datalist with size using java api? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-files-folder-count-in-document-library-and/m-p/116070#M32187</link>
    <description>&lt;P&gt;I am trying to calculate the total folder and file count along with total fize size(folders+files in it) in a document library using java. Also, need to calculate the count of total records in a given datalist. I found a public api which returns the folder,file count with size of items in it but I am not able to hit the uri with java code due to authentication issue.&lt;/P&gt;&lt;P&gt;The URL is -&amp;nbsp;/alfresco/service/slingshot/doclib/doclist/{type}/site/{site}/{container}/{path}&lt;/P&gt;&lt;P&gt;Is there any other way (e.g. a java public api) that can be used to address this kind of requirement.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 13:06:14 GMT</pubDate>
    <dc:creator>Sanjana_17</dc:creator>
    <dc:date>2019-11-21T13:06:14Z</dc:date>
    <item>
      <title>How to calculate Files,folder count in document library and datalist with size using java api?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-files-folder-count-in-document-library-and/m-p/116070#M32187</link>
      <description>&lt;P&gt;I am trying to calculate the total folder and file count along with total fize size(folders+files in it) in a document library using java. Also, need to calculate the count of total records in a given datalist. I found a public api which returns the folder,file count with size of items in it but I am not able to hit the uri with java code due to authentication issue.&lt;/P&gt;&lt;P&gt;The URL is -&amp;nbsp;/alfresco/service/slingshot/doclib/doclist/{type}/site/{site}/{container}/{path}&lt;/P&gt;&lt;P&gt;Is there any other way (e.g. a java public api) that can be used to address this kind of requirement.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:06:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-files-folder-count-in-document-library-and/m-p/116070#M32187</guid>
      <dc:creator>Sanjana_17</dc:creator>
      <dc:date>2019-11-21T13:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Files,folder count in document library and datalist with size using java api?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-files-folder-count-in-document-library-and/m-p/116071#M32188</link>
      <description>&lt;P&gt;I have not verified these, but there are some simliar posts in the hub related to doing this - maybe check them out:&lt;BR /&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/find-number-of-files-in-repository-folder/m-p/132772" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/find-number-of-files-in-repository-folder/m-p/132772&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-find-how-many-folders-and-documents-are-present-in-a-site/td-p/57684" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-find-how-many-folders-and-documents-are-present-in-a-site/td-p/57684&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:18:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-calculate-files-folder-count-in-document-library-and/m-p/116071#M32188</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2019-11-21T15:18:33Z</dc:date>
    </item>
  </channel>
</rss>

