<?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: Using CMIS to get list of document urls in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266009#M219139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;append access token at end of url, like after id=xxxxx-xxxx-xxx-xxx-xxx&amp;amp;access_token=xxxxx-xxxxx-xxxx-xxxx-xxxxxxx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2013 07:21:06 GMT</pubDate>
    <dc:creator>ashok</dc:creator>
    <dc:date>2013-09-19T07:21:06Z</dc:date>
    <item>
      <title>Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266004#M219134</link>
      <description>Hi there - I am new to CMIS and this is my first post. I have a client application that requires that my document management system (Alfresco!) return a list of documents based on the value of a certain document attribure. I have this working as a query, but the client application requires that each</description>
      <pubDate>Wed, 30 Nov 2011 20:29:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266004#M219134</guid>
      <dc:creator>michaelloveusa</dc:creator>
      <dc:date>2011-11-30T20:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266005#M219135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure, but I think that it is not possible to get the document url, you should implement your own servlet that returns in the response the byte stream for the download. Probably this problem exists because each product vendor has different servlets to get a content stream.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 15:33:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266005#M219135</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-12-02T15:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266006#M219136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;issue a getObject request,it returns among other info the document content download url&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 15:57:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266006#M219136</guid>
      <dc:creator>llemtt</dc:creator>
      <dc:date>2012-02-15T15:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266007#M219137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using the OpenCMIS library, there is no public method dedicated to retrieve the content stream url, but you can use the suggested following method to implement a getDocumentURL using Java Reflections:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;public static final String getDocumentURL(final Document document, final Session session) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String link = null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Method loadLink = AbstractAtomPubService.class.getDeclaredMethod("loadLink", &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new Class[] { String.class, String.class, String.class, String.class });&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadLink.setAccessible(true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; link = (String) loadLink.invoke(session.getBinding().getObjectService(), session.getRepositoryInfo().getId(),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getId(), AtomPubParser.LINK_REL_CONTENT, null);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (Exception e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.printStackTrace();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return link;&lt;BR /&gt;&amp;nbsp; }&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;/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;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;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 09:48:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266007#M219137</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2012-02-29T09:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266008#M219138</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;SPAN&gt;I 've used the above code and it is returning the url…its a great work…but the problem is if we use this url it is asking alfresco login details…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;our requirement is to directly download the file with out asking the alfresco credentials…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can any one suggest alternatives…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 07:25:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266008#M219138</guid>
      <dc:creator>nareshthota</dc:creator>
      <dc:date>2012-04-11T07:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266009#M219139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;append access token at end of url, like after id=xxxxx-xxxx-xxx-xxx-xxx&amp;amp;access_token=xxxxx-xxxxx-xxxx-xxxx-xxxxxxx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 07:21:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266009#M219139</guid>
      <dc:creator>ashok</dc:creator>
      <dc:date>2013-09-19T07:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266010#M219140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you'd better not display document url returned by cmis atom binding to end user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead generate a url for every document,when user clicks your url which send request to your proxy servelt,Then your proxy servlet get the document id and user credentials and use user credentials to download file from repository and send stream to user browser.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 12:30:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266010#M219140</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-09-19T12:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using CMIS to get list of document urls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266011#M219141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or use the guest = true functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://wiki.alfresco.com/wiki/URL_Addressability#Guest_Access" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/URL_Addressability#Guest_Access&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 14:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-cmis-to-get-list-of-document-urls/m-p/266011#M219141</guid>
      <dc:creator>fgjohnson</dc:creator>
      <dc:date>2014-02-25T14:41:00Z</dc:date>
    </item>
  </channel>
</rss>

