<?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 CMIS getContent Example in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264753#M217883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to use CMIS's &lt;/SPAN&gt;&lt;STRONG&gt;getContent &lt;/STRONG&gt;&lt;SPAN&gt;REST service to retrieve a document (let's say it's at /Company Home/content/stuff/file.txt). I'm having trouble finding examples of how to populate parameters for the call. Can anyone either provide an example or point me to one on the web?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Via the Alfresco Service Explorer (/alfresco/service/index/family/CMIS), I see the following for the &lt;/SPAN&gt;&lt;STRONG&gt;getContent &lt;/STRONG&gt;&lt;SPAN&gt;service:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;GET /alfresco/service/cmis/i/{id}/content{property}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/cmis/s/{store}/i/{id}/content{property}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/cmis/p{path}/content{property}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/cmis/s/{store}/p{path}/content{property}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/api/node/content{property}/{store_type}/{store_id}/{id}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/api/path/content{property}/{store_type}/{store_id}/{nodepath}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/api/avmpath/content{property}/{store_id}/{avmpath}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}?a={attach?}&amp;amp;streamId={streamId?}&lt;BR /&gt;GET /alfresco/service/api/path/{store_type}/{store_id}/{nodepath}/content{property}?a={attach?}&amp;amp;streamId={streamId?}&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;/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;BR /&gt;&lt;SPAN&gt;Not sure how to populate some of these parameters and that's why an example would be helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 18:05:07 GMT</pubDate>
    <dc:creator>jmaher</dc:creator>
    <dc:date>2012-09-26T18:05:07Z</dc:date>
    <item>
      <title>CMIS getContent Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264753#M217883</link>
      <description>I'm trying to use CMIS's getContent REST service to retrieve a document (let's say it's at /Company Home/content/stuff/file.txt). I'm having trouble finding examples of how to populate parameters for the call. Can anyone either provide an example or point me to one on the web?Via the Alfresco Servic</description>
      <pubDate>Wed, 26 Sep 2012 18:05:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264753#M217883</guid>
      <dc:creator>jmaher</dc:creator>
      <dc:date>2012-09-26T18:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS getContent Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264754#M217884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using Alfresco 4.x, please do not use the web script URLs for CMIS. Those are deprecated. Instead, use the OpenCMIS implementation. The end-point for the AtomPub binding is &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/s/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/s/cmisatom&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you need to make your calls via raw REST or can you use a client-side library like OpenCMIS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to do it via raw REST calls, the call to get the content stream looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom/b1e2f7f4-2e66-4741-9bea-3df01f9d491f/content/Project%20Contract.pdf?id=workspace%3A%2F%2FSpacesStore%2F723a4950-ccaa-4d5c-b180-0f63cbbc010d%3B1.0" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom/b1e2f7f4-2e66-4741-9bea-3df01f9d491f/content/Project%20Contract.pdf?id=workspace%3A%2F%2FSpacesStore%2F723a4950-ccaa-4d5c-b180-0f63cbbc010d%3B1.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b1e2f7f4-2e66-4741-9bea-3df01f9d491f: Your repository ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Project%20Contract.pdf: Your file name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workspace%3A%2F%2FSpacesStore%2F723a4950-ccaa-4d5c-b180-0f63cbbc010d%3B1.0: The object ID of the object you are retrieving&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 17:50:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264754#M217884</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-10-08T17:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS getContent Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264755#M217885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Small correction to to Jeff's post - the OpenCMIS endpoint is &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom&lt;/A&gt;&lt;SPAN&gt; (i.e. no 's' prefix).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 10:38:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264755#M217885</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2012-11-28T10:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS getContent Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264756#M217886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So where can I get the object ID from?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do I need to use CMIS, all I want is to retrieve content, is the simple REST api enough?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 22:49:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264756#M217886</guid>
      <dc:creator>anthony_ramesh</dc:creator>
      <dc:date>2014-03-26T22:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS getContent Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264757#M217887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Alfresco guys will know better but, as I understand, as CMIS is becoming the "standard" API for all types of ECM implementations, your client code will be more portable.&amp;nbsp; Since the CMIS APIs are designed to be brand/product agnostic, using the "Alfresco" REST API, locks your client application to only work with Alfresco repositories.&amp;nbsp; You can get more information from here &lt;/SPAN&gt;&lt;A href="http://www.manning.com/mueller/" rel="nofollow noopener noreferrer"&gt;http://www.manning.com/mueller/&lt;/A&gt;&lt;SPAN&gt; (the best reference you'll find on CMIS and no I don't work for Alfresco or Manning).&amp;nbsp; We are, however, heavy users of Alfresco with CMIS (Apache Chemistry OpenCMIS libraries).&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 02:23:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264757#M217887</guid>
      <dc:creator>mcs130</dc:creator>
      <dc:date>2014-03-27T02:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS getContent Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264758#M217888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why not just use object path ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have serveral options to&amp;nbsp; get a node's Id:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 1. In alfresco explorer node list click 'View details' and then click 'Alfresco Node Reference'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 2. login as administrator In alfresco explorer.open the admin console, and then click node browser.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 13:22:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-getcontent-example/m-p/264758#M217888</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-03-27T13:22:10Z</dc:date>
    </item>
  </channel>
</rss>

