<?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 Cannot get thumbnails with CMIS object/automation client! in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/cannot-get-thumbnails-with-cmis-object-automation-client/m-p/325200#M12201</link>
    <description>&lt;P&gt;I am new to nuxeo. I want list of thumbnails of all the documents stored in nuxeo. I can fetch the documents and and its related properties. I can see that one of the facet element is"Thumbnail" in facets. I need the java code to fetch the thumbnails. I have used CMIS object as well as automation client to fetch all the documents and its properties.  Using Document.Fetch and passing document id to the query i get the document:&lt;/P&gt;
&lt;P&gt;Document document = (Document) session.newRequest("Document.Fetch")
.set("value", documentId).execute();
PropertyMap map = document.getProperties();&lt;/P&gt;
&lt;P&gt;In this way I get the document properties.&lt;/P&gt;
&lt;P&gt;But when I use :&lt;/P&gt;
&lt;P&gt;Document doc = (Document) session.newRequest("Document.Fetch").setHeader(Constants.HEADER_NX_SCHEMAS, "thumbnail").set("value","/default-domain/workspaces/whitelabel/Img1001").execute();&lt;/P&gt;
&lt;P&gt;doc.getProperties will fetch thumb:thumbnail = null&lt;/P&gt;
&lt;P&gt;how do i get thumbnail for a document?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2016 12:44:33 GMT</pubDate>
    <dc:creator>Veena_Chaudhari</dc:creator>
    <dc:date>2016-03-23T12:44:33Z</dc:date>
    <item>
      <title>Cannot get thumbnails with CMIS object/automation client!</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cannot-get-thumbnails-with-cmis-object-automation-client/m-p/325200#M12201</link>
      <description>&lt;P&gt;I am new to nuxeo. I want list of thumbnails of all the documents stored in nuxeo. I can fetch the documents and and its related properties. I can see that one of the facet element is"Thumbnail" in facets. I need the java code to fetch the thumbnails. I have used CMIS object as well as automation client to fetch all the documents and its properties.  Using Document.Fetch and passing document id to the query i get the document:&lt;/P&gt;
&lt;P&gt;Document document = (Document) session.newRequest("Document.Fetch")
.set("value", documentId).execute();
PropertyMap map = document.getProperties();&lt;/P&gt;
&lt;P&gt;In this way I get the document properties.&lt;/P&gt;
&lt;P&gt;But when I use :&lt;/P&gt;
&lt;P&gt;Document doc = (Document) session.newRequest("Document.Fetch").setHeader(Constants.HEADER_NX_SCHEMAS, "thumbnail").set("value","/default-domain/workspaces/whitelabel/Img1001").execute();&lt;/P&gt;
&lt;P&gt;doc.getProperties will fetch thumb:thumbnail = null&lt;/P&gt;
&lt;P&gt;how do i get thumbnail for a document?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 12:44:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cannot-get-thumbnails-with-cmis-object-automation-client/m-p/325200#M12201</guid>
      <dc:creator>Veena_Chaudhari</dc:creator>
      <dc:date>2016-03-23T12:44:33Z</dc:date>
    </item>
  </channel>
</rss>

