<?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 Re: Hours of activity report in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311335#M264465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ESWBitto,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The report is developed on the whole repository, working documents comprised and your need is to filter out all that documents in some way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no a right or wrong answer but there is the relevant business question for your need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you want to develop a report filtering only the documents in the sites?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you prefer to filter out the documents in a specific folder '/Data Document/…' for example? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on your strategy and your need we could start developing a brand new report (starting from the one you mentioned).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Again (like you did in the past): once you will have developed a brand new report, please consider to share it with the community… &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let us know how it goes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 09:24:14 GMT</pubDate>
    <dc:creator>fcorti</dc:creator>
    <dc:date>2014-11-05T09:24:14Z</dc:date>
    <item>
      <title>Hours of activity report</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311334#M264464</link>
      <description>Hey fcorti,I'm having a bit of a time trying to edit the query to this report. document_hours_of_activityThe reason that I think this report is wrong is because of the way alfresco writes their entries. For example…when you look at the table dm_dim_documents it will show you all the files that have</description>
      <pubDate>Wed, 05 Nov 2014 00:05:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311334#M264464</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2014-11-05T00:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hours of activity report</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311335#M264465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ESWBitto,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The report is developed on the whole repository, working documents comprised and your need is to filter out all that documents in some way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no a right or wrong answer but there is the relevant business question for your need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you want to develop a report filtering only the documents in the sites?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you prefer to filter out the documents in a specific folder '/Data Document/…' for example? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on your strategy and your need we could start developing a brand new report (starting from the one you mentioned).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Again (like you did in the past): once you will have developed a brand new report, please consider to share it with the community… &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let us know how it goes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 09:24:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311335#M264465</guid>
      <dc:creator>fcorti</dc:creator>
      <dc:date>2014-11-05T09:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hours of activity report</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311336#M264466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey fcorti,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was playing around with the query yesterday and tried to just filter out file extensions that I know would not be necessary. I came to the conclusion that that solution is too tedious. lol&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I think an approach where anything in the sites' document library would be what is counted. The problem I'm having though is that there is not really a way that I see would be a viable solution. Do you have a suggestion of the approach I should take? Here's the code for the query so you can see what I've been doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SELECT&lt;BR /&gt; dm_dim_hours.id,&lt;BR /&gt; dm_dim_hours.desc,&lt;BR /&gt; CONCAT('From ',TRIM(dm_dim_hours.desc),':00 to ',TRIM(dm_dim_hours.desc),':59') AS desc2,&lt;BR /&gt; COUNT(creation_minute_id) AS num&lt;BR /&gt;FROM&lt;BR /&gt; dm_dim_hours &lt;BR /&gt; JOIN dm_dim_minutes ON dm_dim_minutes.hour_id = dm_dim_hours.id&lt;BR /&gt; LEFT JOIN (&lt;BR /&gt;&amp;nbsp; SELECT&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_documents.creation_minute_id AS creation_minute_id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths.path AS yoface,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_documents.name AS myname&lt;BR /&gt;&amp;nbsp; FROM&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_documents,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths&lt;BR /&gt;&amp;nbsp; WHERE&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths.path NOT LIKE '%surf_config%' AND&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths.path NOT LIKE '%system%' AND &lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths.path NOT LIKE '%user_homes%' AND &lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths.path NOT LIKE '%swsdp%' AND&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths.path NOT LIKE '%Unknown%' AND &lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_paths.path NOT LIKE '%sites%' AND&lt;BR /&gt;&amp;nbsp;&amp;nbsp; NAME NOT LIKE '%.ftl' AND&lt;BR /&gt;&amp;nbsp;&amp;nbsp; NAME NOT LIKE '%.sample' AND&lt;BR /&gt;&amp;nbsp;&amp;nbsp; NAME NOT LIKE '%.xml' AND&lt;BR /&gt;&amp;nbsp;&amp;nbsp; NAME NOT LIKE '%.js'&lt;BR /&gt;&amp;nbsp; UNION ALL&lt;BR /&gt;&amp;nbsp; SELECT&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_folders.creation_minute_id AS creation_minute_id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; '' AS yoface,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; '' AS myname&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FROM&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dm_dim_folders) t ON t.creation_minute_id = dm_dim_min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lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 17:47:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311336#M264466</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2014-11-06T17:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hours of activity report</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311337#M264467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ESWBitto,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are doing a good job!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to share some opinions, why do use the "NOT" approach instead of the direct one with&amp;nbsp; dm_dim_paths.path LIKE '%/sites/%'?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand correctly, your need is to have all and only the site documents… so, why not to select only those?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feel free to discuss on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the past I have received many contacts asking for a "report that lists the documents in the sites".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's define it and we will add to the next AAAR release… if you will want. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 21:06:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311337#M264467</guid>
      <dc:creator>fcorti</dc:creator>
      <dc:date>2014-11-06T21:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hours of activity report</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311338#M264468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey fcorti,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is actually where I need help with. I've written it several different ways and got different results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;dm_dim_paths.path LIKE '%sites%'&lt;BR /&gt;dm_dim_paths.path NOT LIKE '%sites%'&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It gives different results, but the count is really large. To me I should be seeing a count where they total up to 24. That's how many files I have put in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm getting results of like 2400 or 643…etc. To me that just means that its counting alfresco install files that are in the dm_dim_documents.name or dm_dim_paths.path. I think it could also be counting files twice. I'm not sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes you understand me correctly. I only want to count documents in the document library from a site and nothing else. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 21:28:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311338#M264468</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2014-11-06T21:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hours of activity report</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311339#M264469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ESWBitto,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggest you to isolate the query that lists the documents from the whole one so you will have the chance to see the duplications and the "wrong" ones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From a first view, I can see you include in the results also the folders, and I think you don't want them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this help you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2014 09:08:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hours-of-activity-report/m-p/311339#M264469</guid>
      <dc:creator>fcorti</dc:creator>
      <dc:date>2014-11-09T09:08:36Z</dc:date>
    </item>
  </channel>
</rss>

