<?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 Space Information (get space size and space items number) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/space-information-get-space-size-and-space-items-number/m-p/225822#M178952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get Space Information Data? The size of a space and the number of items in that space, like a OS Explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to show this information on Space Details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;Department A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Title:&amp;nbsp;&amp;nbsp;&amp;nbsp;Department A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Description:&amp;nbsp;&amp;nbsp;&amp;nbsp;Department A Docs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Creator:&amp;nbsp;&amp;nbsp;&amp;nbsp;admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Created Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;12 March 2010 15:58&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Modifier:&amp;nbsp;&amp;nbsp;&amp;nbsp;admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Modified Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;12 March 2010 16:13&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Email ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;1196&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt; Size: 128,08 MB&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Files: 12&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub-Folders: 2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get this information directly? Thanks all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Mar 2010 16:29:46 GMT</pubDate>
    <dc:creator>biersen</dc:creator>
    <dc:date>2010-03-12T16:29:46Z</dc:date>
    <item>
      <title>Space Information (get space size and space items number)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/space-information-get-space-size-and-space-items-number/m-p/225822#M178952</link>
      <description>Hi all,How can I get Space Information Data? The size of a space and the number of items in that space, like a OS Explorer.I want to show this information on Space Details:&amp;nbsp;&amp;nbsp;&amp;nbsp;Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;Department A&amp;nbsp;&amp;nbsp;&amp;nbsp;Title:&amp;nbsp;&amp;nbsp;&amp;nbsp;Department A&amp;nbsp;&amp;nbsp;&amp;nbsp;Description:&amp;nbsp;&amp;nbsp;&amp;nbsp;Department A Docs&amp;nbsp;&amp;nbsp;&amp;nbsp;Creator:&amp;nbsp;&amp;nbsp;&amp;nbsp;admin&amp;nbsp;&amp;nbsp;&amp;nbsp;Created Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;12 March</description>
      <pubDate>Fri, 12 Mar 2010 16:29:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/space-information-get-space-size-and-space-items-number/m-p/225822#M178952</guid>
      <dc:creator>biersen</dc:creator>
      <dc:date>2010-03-12T16:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Space Information (get space size and space items number)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/space-information-get-space-size-and-space-items-number/m-p/225823#M178953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you have to navigate into space childs and count this values manualy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 15:55:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/space-information-get-space-size-and-space-items-number/m-p/225823#M178953</guid>
      <dc:creator>nevoeiro</dc:creator>
      <dc:date>2010-04-27T15:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Space Information (get space size and space items number)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/space-information-get-space-size-and-space-items-number/m-p/225824#M178954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are other topics that talk about this subject, like this one &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=35&amp;amp;t=16589" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=35&amp;amp;t=16589&lt;/A&gt;&lt;SPAN&gt; or this &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=27739" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=12&amp;amp;t=27739&lt;/A&gt;&lt;SPAN&gt;. But there are no response that help us to get this information about each Space in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not a Java expert, neither a Alfresco expert. I'm learning. I make some searches on web about possible solutions for this, and I want to try others. So, this is the situation point:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a) An solution would be create a script that navigate between nodes(spaces and files) and sum the size of each file. But, if we have a lot of files, this script takes too long to execute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An example with templates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://cedric.bosdonnat.free.fr/wordpress/?p=85" rel="nofollow noopener noreferrer"&gt;http://cedric.bosdonnat.free.fr/wordpress/?p=85&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried this but, as I wrote above, this takes too long to execute when we have a lot of documents. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A workaround to resolve this, will be implement a thread system that run a webscript at the night and update the values. But the disadvantage is that we never get the info at real time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;b) Other way would be create an SQL procedure to get this info faster, and then create a service that we can use to get the info through java. But, in my opinion, this is not a good implementation, because the database model is too complex. Any way there are some people that tried this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. &lt;/SPAN&gt;&lt;A href="http://ironman.darthgibus.net/?p=72" rel="nofollow noopener noreferrer"&gt;http://ironman.darthgibus.net/?p=72&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;2. &lt;/SPAN&gt;&lt;A href="http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/" rel="nofollow noopener noreferrer"&gt;http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way, i didn't tried yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, does anyone knows more about this? What is the best way to follow, that can give us this information?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 11:37:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/space-information-get-space-size-and-space-items-number/m-p/225824#M178954</guid>
      <dc:creator>biersen</dc:creator>
      <dc:date>2010-07-13T11:37:40Z</dc:date>
    </item>
  </channel>
</rss>

