<?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: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288394#M241524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a Java based WebScript in git hub that can calculate folder size ,you can evaluate if it safisfy your needs,if not you can do some customization.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://github.com/dedunu/filesize-webscript" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/dedunu/filesize-webscript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2016 03:32:44 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2016-11-24T03:32:44Z</dc:date>
    <item>
      <title>Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288383#M241513</link>
      <description>Can anyone please share webscript to get the list of all sites,folder, files and the space occupied by them.‌</description>
      <pubDate>Thu, 17 Nov 2016 07:19:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288383#M241513</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2016-11-17T07:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288384#M241514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please visit &lt;A class="link-titled" href="http://localhost:8080/alfresco/s/index/all" title="http://localhost:8080/alfresco/s/index/all" rel="nofollow noopener noreferrer"&gt;http://server&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;ort/alfresco/s/index/all&lt;/A&gt;&amp;nbsp; and login with admin account.&lt;/P&gt;&lt;P&gt;This page will list all webscripts installed .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 07:47:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288384#M241514</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-17T07:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288385#M241515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am following the tutorial&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/4.1/concepts/ws-folderListing-intro.html" title="http://docs.alfresco.com/4.1/concepts/ws-folderListing-intro.html" rel="nofollow noopener noreferrer"&gt;Developing a Folder Listing web script | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting 404&amp;nbsp;folder not found error for Company Home as described here :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/23786473/alfresco-webscript-cant-find-company-home-folder" title="http://stackoverflow.com/questions/23786473/alfresco-webscript-cant-find-company-home-folder" rel="nofollow noopener noreferrer"&gt;http status code 404 - Alfresco webscript can't find Company Home folder - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Stuck on this !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 16:08:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288385#M241515</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2016-11-17T16:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288386#M241516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please attach your customized webscript here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 03:18:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288386#M241516</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-18T03:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288387#M241517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;dir.get.desc.xml&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;webscript&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px; margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;shortname&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Folder Listing Utility&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/shortname&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;description&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;Sample demonstrating the listing of folder contents&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;url&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/dir/{folderpath}?verbose={verbose?}&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/url&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;format&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;default&lt;/SPAN&gt;="&lt;SPAN class=""&gt;html&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;extension&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/format&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;authentication&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;guest&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/authentication&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;/webscript&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN style="font-size: 22px;"&gt;dir.get.html.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;PRE style="font-weight: normal;"&gt;&amp;lt;html&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Folder ${folder.displayPath}/${folder.name}&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;Alfresco ${server.edition} Edition v${server.version} : dir&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;Contents of folder ${folder.displayPath}/${folder.name}&amp;lt;/p&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;#list folder.children as child&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;#if child.isContainer&amp;gt;d&amp;lt;/#if&amp;gt;&amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;#if verbose&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;${child.properties.modifier}&amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;#if child.isDocument&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${child.properties.content.size}&amp;lt;/#if&amp;gt;&amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;${child.properties.modified?date}&amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/#if&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;${child.name}&amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/#list&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt; &amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;dir.get.js&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;// extract folder listing arguments from URI var verbose = (args.verbose == "true" ? true : false); var folderpath = url.templateArgs.folderpath;&amp;nbsp; // search for folder within Alfresco content repository var folder = roothome.childByNamePath(folderpath);&amp;nbsp; // validate that folder has been found if (folder == undefined || !folder.isContainer) {&amp;nbsp;&amp;nbsp;&amp;nbsp; status.code = 404;&amp;nbsp;&amp;nbsp;&amp;nbsp; status.message = "Folder " + folderpath + " not found.";&amp;nbsp;&amp;nbsp;&amp;nbsp; status.redirect = true; }&amp;nbsp; // construct model for response template to render model.verbose = verbose; model.folder = folder; &lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying hitting the url :&amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/alfresco/service/dir/{folderpath}?verbose={verbose?}" title="http://localhost:8080/alfresco/service/dir/{folderpath}?verbose={verbose?}" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/dir/{folderpath}?verbose={verbose?}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but getting the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10843" class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/10843_pastedImage_10.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have also tried with the url : &amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/alfresco/service/dir/Company%20Home?verbose=true" title="http://localhost:8080/alfresco/service/dir/Company%20Home?verbose=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/dir/Company%20Home?verbose=true&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;but getting the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 05:03:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288387#M241517</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2016-11-18T05:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288388#M241518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;IMO the 404 tells us that your webscript is not correctly deployed on Alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you find your webscript using this URL :&amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/alfresco/service/index/uri/" title="http://localhost:8080/alfresco/service/index/uri/" rel="nofollow noopener noreferrer"&gt;http://host&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;ort/alfresco/service/index/uri/&lt;/A&gt;&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 08:52:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288388#M241518</guid>
      <dc:creator>ycoulon</dc:creator>
      <dc:date>2016-11-18T08:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288389#M241519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="122232" __jive_macro_name="user" _jive_internal="true" data-id="122232" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/ycoulon" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌ &lt;A __default_attr="96763" __jive_macro_name="user" _jive_internal="true" data-id="96763" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/kaynezhang" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌&lt;BR /&gt;Webscript is correctly deployed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;i am able to see the webscript after hitting this url&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the below image :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10865" class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/10865_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:24:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288389#M241519</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2016-11-18T09:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288390#M241520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;folder path parameter should be cn:name property,for example in my&amp;nbsp;environment&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://localhost:8080/alfresco/s/dir/公司主页?verbose=true" title="http://localhost:8080/alfresco/s/dir/公司主页?verbose=true" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/s/dir/公司主页?verbose=true&lt;/A&gt;&amp;nbsp; (of course chinese character need to be encoded)will work&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="163" src="https://connect.hyland.com/legacyfs/online/alfresco/10930_pastedImage_1.png" width="278" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 02:37:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288390#M241520</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-23T02:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288391#M241521</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;Please can you tell how to browse to this page (the screenshot which you have given).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 08:33:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288391#M241521</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2016-11-23T08:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288392#M241522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://localhost:8080/alfresco/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://localhost:8080/alfresco/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;click Alfresco Administration Console (admin only) and login with admin user.&lt;/P&gt;&lt;P&gt;in left tree click node browser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 10:19:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288392#M241522</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-23T10:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288393#M241523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry , i was trying the wrong way&lt;BR /&gt;It worked now !!&lt;BR /&gt;Thanks !!&lt;BR /&gt;&lt;BR /&gt;Just one more query&lt;BR /&gt;&lt;BR /&gt;Can we get the individual size of each file and subfolders inside a folder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 11:25:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288393#M241523</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2016-11-23T11:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288394#M241524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a Java based WebScript in git hub that can calculate folder size ,you can evaluate if it safisfy your needs,if not you can do some customization.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://github.com/dedunu/filesize-webscript" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/dedunu/filesize-webscript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 03:32:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288394#M241524</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-24T03:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288395#M241525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not tried any java based webscripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying using javascript based webscripts&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tutorial&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/5.0/concepts/ws-folderListing-intro.html" title="http://docs.alfresco.com/5.0/concepts/ws-folderListing-intro.html" rel="nofollow noopener noreferrer"&gt;Developing a Folder Listing web script | Alfresco Documentation&lt;/A&gt;&amp;nbsp; is fullfilling my requirements&amp;nbsp;&lt;BR /&gt;It just need some customization for folder size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below i have attached the html file in which there is a condition for getting the content size if child is 'document'&lt;/P&gt;&lt;P&gt;Can you please help me to get the size of individual subfolders inside a folder.&lt;/P&gt;&lt;P&gt;What changes should i do in the below code in order to get this ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 13px;"&gt;&lt;STRONG style="border: 0px; : ; font-weight: inherit; font-size: 22px;"&gt;dir.get.html.ftl&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/10976_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG class="image-2 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/10977_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 13px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 22px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: 22px;"&gt;dir.get.js&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/10978_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 06:46:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288395#M241525</guid>
      <dc:creator>anujsharma</dc:creator>
      <dc:date>2016-11-24T06:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need Alfresco share webscript to get the list of all sites,folder, files and space occupied by them.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288396#M241526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can&amp;nbsp;write an recursive function to caculate size of folder in your dir.get.js like this. and for every sub folder call this function to caculate folder size,and then present it in dir.get.html.ftl&lt;/P&gt;&lt;P&gt;getNodeSize(node) {&lt;BR /&gt; var size = 0;&lt;/P&gt;&lt;P&gt;if(node.isDocument)&lt;BR /&gt; {&lt;BR /&gt; size=node.getSize();&lt;BR /&gt; }&lt;BR /&gt; else if(node.isContainer){&lt;BR /&gt; var children = node.children;&lt;BR /&gt; for (var i = 0; i &amp;lt; children.length; i++)&lt;BR /&gt; {&lt;BR /&gt; var child = children[i];&lt;BR /&gt; size = size + getNodeSize(child);&lt;BR /&gt; }&lt;BR /&gt; }else{&lt;BR /&gt; }&lt;BR /&gt; return size;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;It is just an example ,I have not tested it ,and it has poor performance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 07:50:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-alfresco-share-webscript-to-get-the-list-of-all-sites/m-p/288396#M241526</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-24T07:50:58Z</dc:date>
    </item>
  </channel>
</rss>

