<?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 Need help regarding path and reading content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-help-regarding-path-and-reading-content/m-p/12604#M5168</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 have a couple of queries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the significance of Reference.getPath() method?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am storing my documents in folder structure like&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;/rootFolder/folderA/documentA&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way I can get the absolute path of a document from its node?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The {&lt;/SPAN&gt;&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;SPAN&gt; property of a node has the value &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;store://2006/5/29/16/07c8017c-eeff-11da-abb5-fb6cb121848f.bin|mimetype=application/octet-stream|size=23|encoding=UTF-8&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ContentService.read() method returns the URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="http://127.0.0.1:8080/alfresco/download/direct/workspace/hello/06ffa868-eeff-11da-abb5-fb6cb121848f/santoshTest" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/alfresco/download/direct/workspace/hello/06ffa868-eeff-11da-abb5-fb6cb121848f/santoshTest&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way so that I can use the first url to read the content of the node as it would reduce a server call?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I didn't find seperate classes representing directory and documents?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is found in other document servers like Documentum and JLibrary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco doesn't have such classes or I am missing out something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Santosh Prabhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2006 11:02:10 GMT</pubDate>
    <dc:creator>santosh</dc:creator>
    <dc:date>2006-05-30T11:02:10Z</dc:date>
    <item>
      <title>Need help regarding path and reading content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-help-regarding-path-and-reading-content/m-p/12604#M5168</link>
      <description>Hi,I have a couple of queries1.What is the significance of Reference.getPath() method?I am storing my documents in folder structure like/rootFolder/folderA/documentAIs there any way I can get the absolute path of a document from its node?2. The {http://www.alfresco.org/model/content/1.0}content prop</description>
      <pubDate>Tue, 30 May 2006 11:02:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-help-regarding-path-and-reading-content/m-p/12604#M5168</guid>
      <dc:creator>santosh</dc:creator>
      <dc:date>2006-05-30T11:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help regarding path and reading content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-help-regarding-path-and-reading-content/m-p/12605#M5169</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;1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The getPath() method on the reference object is the generated getter to match the setter for the path attribute of the reference object.&amp;nbsp; You will set the path of a reference when you want to reference a node in a service call by path rather than by guid.&amp;nbsp; Guid and path on reference are mutually exclusive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a reference is created and returned to you from a service call the path will generally be null as the Guid of the node being referenced will be known.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The URL in the content property is used by the content store to identify the content.&amp;nbsp; Outside of the content store the URL has little meaning.&amp;nbsp; At the moment the only way to get at the content from the web service API is to ask for the content object and use the generated download URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We do have two standard types defined that represent both dictionaries and documents.&amp;nbsp; The standard web service API's can work with these types, but provide no helpers.&amp;nbsp; In the repository there is a file folder service API that provides an API specific to the directories and documents, since this is such a common use case.&amp;nbsp; The web service equivalent was scheduled for release in 1.3, but has now had to be moved into 1.4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 09:01:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-help-regarding-path-and-reading-content/m-p/12605#M5169</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2006-05-31T09:01:22Z</dc:date>
    </item>
  </channel>
</rss>

