<?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: CMISLIB reports missing &amp;lt;content&amp;gt; tag in getContentStream call in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmislib-reports-missing-lt-content-gt-tag-in-getcontentstream/m-p/299097#M252227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As answered on stackoverflow.com, you must reload the object first. The reason is that in a query results list, content elements are not returned because, for plain text files, content elements contain the entire text, which could be quite large when added up over an entire result set. Binary files don't have this problem because the content element refers to the download URL of the binary file rather than including the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is arguable that the getContentStream method should notice that the content element is missing and then force a reload on its own. But that's not how it works currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this 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>Wed, 17 Apr 2013 19:23:42 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2013-04-17T19:23:42Z</dc:date>
    <item>
      <title>CMISLIB reports missing &lt;content&gt; tag in getContentStream call</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmislib-reports-missing-lt-content-gt-tag-in-getcontentstream/m-p/299096#M252226</link>
      <description>I am using cmislib to query Alfresco programmatically. I have a custom content type named bulletin in the namespace wg. I try to query it like this:&amp;lt;python&amp;gt;from cmislib import CmisClienturl = "http://myservert:8080/alfresco/cmisatom"client = CmisClient(url, 'admin', 'admin')repo = client.defau</description>
      <pubDate>Thu, 11 Apr 2013 19:12:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmislib-reports-missing-lt-content-gt-tag-in-getcontentstream/m-p/299096#M252226</guid>
      <dc:creator>hughdbrown</dc:creator>
      <dc:date>2013-04-11T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: CMISLIB reports missing &lt;content&gt; tag in getContentStream call</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmislib-reports-missing-lt-content-gt-tag-in-getcontentstream/m-p/299097#M252227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As answered on stackoverflow.com, you must reload the object first. The reason is that in a query results list, content elements are not returned because, for plain text files, content elements contain the entire text, which could be quite large when added up over an entire result set. Binary files don't have this problem because the content element refers to the download URL of the binary file rather than including the content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is arguable that the getContentStream method should notice that the content element is missing and then force a reload on its own. But that's not how it works currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this 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>Wed, 17 Apr 2013 19:23:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmislib-reports-missing-lt-content-gt-tag-in-getcontentstream/m-p/299097#M252227</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-04-17T19:23:42Z</dc:date>
    </item>
  </channel>
</rss>

