<?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 Size of a node in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/size-of-a-node/m-p/233136#M186266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can i get the size of the node? Im trying like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String filesize = (String) nodeService.getProperty(childNodeRef, ContentModel.PROP_SIZE_CURRENT);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this de right way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the CIFS location? im trying like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String filepath = (String) nodeService.getProperty(childNodeRef, ContentModel.PROP_LOCATION);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What im doing wrong? can anyone help please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advanced&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 May 2010 14:29:52 GMT</pubDate>
    <dc:creator>toze</dc:creator>
    <dc:date>2010-05-26T14:29:52Z</dc:date>
    <item>
      <title>Size of a node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/size-of-a-node/m-p/233136#M186266</link>
      <description>How can i get the size of the node? Im trying like thisString filesize = (String) nodeService.getProperty(childNodeRef, ContentModel.PROP_SIZE_CURRENT);Is this de right way?And the CIFS location? im trying like thisString filepath = (String) nodeService.getProperty(childNodeRef, ContentModel.PROP_LO</description>
      <pubDate>Wed, 26 May 2010 14:29:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/size-of-a-node/m-p/233136#M186266</guid>
      <dc:creator>toze</dc:creator>
      <dc:date>2010-05-26T14:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Size of a node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/size-of-a-node/m-p/233137#M186267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To get the content size, you should try something like…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ContentData contentRef =&amp;nbsp; (ContentData )nodeService.getProperty(childNodeRef, ContentModel.PROP_CONTENT);&lt;BR /&gt;long size = contentRef.getSize();&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;SPAN&gt; and to get the CIFS you might check method &lt;/SPAN&gt;&lt;STRONG&gt;public static String generateURL(FacesContext context, Node node, String name, URLMode usage)&lt;/STRONG&gt;&lt;SPAN&gt; in &lt;/SPAN&gt;&lt;STRONG&gt;org.alfresco.web.ui.common.Utils&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gyro&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 16:51:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/size-of-a-node/m-p/233137#M186267</guid>
      <dc:creator>gyro_gearless</dc:creator>
      <dc:date>2010-05-26T16:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Size of a node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/size-of-a-node/m-p/233138#M186268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 14:49:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/size-of-a-node/m-p/233138#M186268</guid>
      <dc:creator>toze</dc:creator>
      <dc:date>2010-05-27T14:49:47Z</dc:date>
    </item>
  </channel>
</rss>

