<?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: Retrieve document content as byte array using UUID in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303728#M256858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look here: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/NodeRef_cookbook#Reading_the_data_content_of_a_NodeRef_.28binary.29" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/NodeRef_cookbook#Reading_the_data_content_of_a_NodeRef_.28binary.29&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It takes a nodeRef, not the UUID string, try the constructors of the NodeRef class to get the nodeRef &lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/datamodel/org/alfresco/service/cmr/repository/NodeRef.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/datamodel/org/alfresco/service/cmr/repository/NodeRef.html&lt;/A&gt;&lt;SPAN&gt;, e.g.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NodeRef nodeRef = new NodeRef("workspace://SpacesStore/f1a5e908-80cb-4c6e-b919-cc80fe53b835");&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 10:08:17 GMT</pubDate>
    <dc:creator>marsbard</dc:creator>
    <dc:date>2014-05-27T10:08:17Z</dc:date>
    <item>
      <title>Retrieve document content as byte array using UUID</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303727#M256857</link>
      <description>Hi,Alfresco document was uploaded using web services RepositoryServiceSoapBindingStub and ContentServiceSoapBindingStub(SDK Samples API) and have complete URL of the document with UUID and file name - http://localhost:8080/alfresco/d/d/workspace/SpacesStore/e93b3b3f-774f-43fd-8c32-f3d44c0e570e/sampl</description>
      <pubDate>Tue, 27 May 2014 09:25:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303727#M256857</guid>
      <dc:creator>narayana_giri</dc:creator>
      <dc:date>2014-05-27T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve document content as byte array using UUID</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303728#M256858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look here: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/NodeRef_cookbook#Reading_the_data_content_of_a_NodeRef_.28binary.29" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/NodeRef_cookbook#Reading_the_data_content_of_a_NodeRef_.28binary.29&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It takes a nodeRef, not the UUID string, try the constructors of the NodeRef class to get the nodeRef &lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/datamodel/org/alfresco/service/cmr/repository/NodeRef.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/datamodel/org/alfresco/service/cmr/repository/NodeRef.html&lt;/A&gt;&lt;SPAN&gt;, e.g.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NodeRef nodeRef = new NodeRef("workspace://SpacesStore/f1a5e908-80cb-4c6e-b919-cc80fe53b835");&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 10:08:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303728#M256858</guid>
      <dc:creator>marsbard</dc:creator>
      <dc:date>2014-05-27T10:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve document content as byte array using UUID</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303729#M256859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&amp;nbsp; Even though I searched in Alfresco forum and google it, unable to find reference to contentService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to get the reference to contentService in Alfresco 4.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again Thanks for all your support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:15:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303729#M256859</guid>
      <dc:creator>narayana_giri</dc:creator>
      <dc:date>2014-05-27T12:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve document content as byte array using UUID</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303730#M256860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This tutorial shows how to create a content streaming webscript, including how to inject the contentService via Spring configuration (actually the serviceRegistry is injected, it contains references to the other services) : &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples#RenditionWebScript.java" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples#RenditionWebScript.java&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:58:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-document-content-as-byte-array-using-uuid/m-p/303730#M256860</guid>
      <dc:creator>marsbard</dc:creator>
      <dc:date>2014-05-27T13:58:22Z</dc:date>
    </item>
  </channel>
</rss>

