<?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 a document with a single request Using CMIS  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-a-document-with-a-single-request-using-cmis/m-p/307853#M260983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Every object in a CMIS repository is accessible by a specific URL. Using the Atom Pub binding, the structure of that URL is repository-specific and not dictated by the spec. Using the Browser binding the structure of that URL is dictated by the spec.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, using Alfresco 4.2.e and the Atom Pub binding here is the URL that would download a test text file I have sitting in the root of my repository:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/test1.txt?id=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/test1.txt?id=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the URL you would use to access the same object using Alfresco 4.2.e and the browser binding (new in CMIS 1.1):&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root?objectId=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0&amp;amp;cmisselector=content" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root?objectId=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0&amp;amp;cmisselector=content&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So every object has a URL that you can use to get that object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, how did I get to that URL? Clearly, if you know the CMIS object ID ahead of time you can construct it. In my case, I navigated the hierarchy until I found the object I wanted. In the case of navigating the hierarchy I had to make multiple HTTP calls in order to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You point out that CMIS supports multiple repositories. That is true. However Alfresco only supports one. So if you know the repository ID ahead of time you do not have to ask the server for its list of repositories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2013 21:00:22 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2013-11-22T21:00:22Z</dc:date>
    <item>
      <title>Retrieve a document with a single request Using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-a-document-with-a-single-request-using-cmis/m-p/307852#M260982</link>
      <description>Hello,I am a working with the Mortgage Industry Standards Maintentance Organization (MISMO) to develop the next version of their data reference model.&amp;nbsp; I have the goal of developing an implementation guide showing how the MISMO data model can support integration to a CMIS-conformant data repository.</description>
      <pubDate>Thu, 21 Nov 2013 21:59:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-a-document-with-a-single-request-using-cmis/m-p/307852#M260982</guid>
      <dc:creator>jmetzger</dc:creator>
      <dc:date>2013-11-21T21:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve a document with a single request Using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-a-document-with-a-single-request-using-cmis/m-p/307853#M260983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Every object in a CMIS repository is accessible by a specific URL. Using the Atom Pub binding, the structure of that URL is repository-specific and not dictated by the spec. Using the Browser binding the structure of that URL is dictated by the spec.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, using Alfresco 4.2.e and the Atom Pub binding here is the URL that would download a test text file I have sitting in the root of my repository:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/test1.txt?id=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/test1.txt?id=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the URL you would use to access the same object using Alfresco 4.2.e and the browser binding (new in CMIS 1.1):&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root?objectId=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0&amp;amp;cmisselector=content" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root?objectId=f1f4dc3d-f2f0-437e-b7ea-52da7023387a%3B1.0&amp;amp;cmisselector=content&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So every object has a URL that you can use to get that object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, how did I get to that URL? Clearly, if you know the CMIS object ID ahead of time you can construct it. In my case, I navigated the hierarchy until I found the object I wanted. In the case of navigating the hierarchy I had to make multiple HTTP calls in order to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You point out that CMIS supports multiple repositories. That is true. However Alfresco only supports one. So if you know the repository ID ahead of time you do not have to ask the server for its list of repositories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 21:00:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-a-document-with-a-single-request-using-cmis/m-p/307853#M260983</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-11-22T21:00:22Z</dc:date>
    </item>
  </channel>
</rss>

