<?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 find total number of document uploaded in repository? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233078#M186208</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;Is there any way i can get total number of content documents uploaded in Alfresco repository by all existing users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found one db query but it does not seem to give correct ouptut.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SELECT count(*) FROM alfresco.alf_node a where type_qname_id=35;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;where 35 is id for content in alfresco.alf_qname table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want total number of documents uploaded either via 'Add Content' in Alfresco explorer or using WebDav or any other mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think i am missing something. :!: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any web script or java script or service api or any db query will do? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would appreciate for any help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 May 2010 12:32:12 GMT</pubDate>
    <dc:creator>dynamolalit</dc:creator>
    <dc:date>2010-05-26T12:32:12Z</dc:date>
    <item>
      <title>How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233078#M186208</link>
      <description>Hi,Is there any way i can get total number of content documents uploaded in Alfresco repository by all existing users.I found one db query but it does not seem to give correct ouptut.SELECT count(*) FROM alfresco.alf_node a where type_qname_id=35;where 35 is id for content in alfresco.alf_qname tabl</description>
      <pubDate>Wed, 26 May 2010 12:32:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233078#M186208</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2010-05-26T12:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233079#M186209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Best way is the one you have tried. You might get incorrect results because of deleted content. So limit your query to workspace&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;pacesStore e.g. AND store_id=&amp;lt;id&amp;gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 May 2010 14:08:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233079#M186209</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2010-05-29T14:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233080#M186210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ivan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is updated query to get all content for "workspace:spacestore" :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SELECT count(*) FROM alfresco.alf_node a where type_qname_id=35 and store_id=6;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 11:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233080#M186210</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2010-06-01T11:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233081#M186211</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 used a webscript to get total number of content in repository as DB thingy was not accurate all the times. :?: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code for same:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;var contentDocs = search.luceneSearch("TYPE:\"{&lt;A href="http://www.alfresco.org/model/content/1.0}content\" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content\&lt;/A&gt;"");&lt;BR /&gt;var totalCnt = contentDocs.length;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;To get it rendered , i used model array variable in ftl:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;model.allContent = totalCnt ;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 04:28:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233081#M186211</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2010-06-07T04:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233082#M186212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Didn't you run in the 1000 limit with the webscript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have over 100,000 documents, but unless I change system.acl.maxPermissionChecks and system.acl.maxPermissionCheckTimeMillis to higher numbers, there is apparently no way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read another post where, in java, one could use a fetchSize() method to split the resultSet, but I don't know how to do it in javascript.. If anyone has insights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, for a repository that gets really large, it may just take too long to return. I have also written a database stored procedure to get the total number of documents, by types.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 14:56:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233082#M186212</guid>
      <dc:creator>chapeaurouge</dc:creator>
      <dc:date>2010-08-20T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233083#M186213</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;SPAN&gt;I'm trying to do quite the same thing, but I have to retrieve the number of content's uploaded per user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The direct db query seems interesting, but where could you do that? You have to write your java code and access directly to the db, or you can use some kind of Alfresco API that support sql queries?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:11:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233083#M186213</guid>
      <dc:creator>themarcuz</dc:creator>
      <dc:date>2010-09-01T10:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233084#M186214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can write a webscript which, instead of using a javascript, uses a traditional java class (java backed web script)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:12:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233084#M186214</guid>
      <dc:creator>chapeaurouge</dc:creator>
      <dc:date>2010-09-01T10:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to find total number of document uploaded in repository?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233085#M186215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have posted a couple things in my blog&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ironman.darthgibus.net/?cat=23" rel="nofollow noopener noreferrer"&gt;http://ironman.darthgibus.net/?cat=23&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I haven't written the webscript yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 10:14:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-find-total-number-of-document-uploaded-in-repository/m-p/233085#M186215</guid>
      <dc:creator>chapeaurouge</dc:creator>
      <dc:date>2010-09-01T10:14:12Z</dc:date>
    </item>
  </channel>
</rss>

