<?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: How to zip a set of pictures in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-zip-a-set-of-pictures/m-p/324976#M11977</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You should try with the operation &lt;CODE&gt;Get Document File&lt;/CODE&gt; and not &lt;CODE&gt;Get Document FileS&lt;/CODE&gt; if you have only a mono valued field which is the case of file:content for example.&lt;/P&gt;
&lt;P&gt;Hope that help&lt;/P&gt;
&lt;P&gt;Fred&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2012 07:49:33 GMT</pubDate>
    <dc:creator>Fred_Vadon</dc:creator>
    <dc:date>2012-05-24T07:49:33Z</dc:date>
    <item>
      <title>How to zip a set of pictures</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-zip-a-set-of-pictures/m-p/324975#M11976</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have to send a zip file with a set of pictures but I can't manage to define the xpath.&lt;/P&gt;
&lt;P&gt;Here's what I try in the automation chain :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Files &amp;gt; Get Document Files &amp;gt; xpath : file:content
Files &amp;gt; Zip &amp;gt; photos.zip
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get the following error :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java.lang.ClassCastException: org.nuxeo.ecm.core.api.model.impl.primitives.BlobProperty cannot be cast to org.nuxeo.ecm.core.api.model.impl.ListProperty
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I also tried something like this with no success :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;picture:views/view[0]/content
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What's the xpath to get the pictures files ?&lt;/P&gt;
&lt;P&gt;Thank you very much for your answers&lt;/P&gt;
&lt;P&gt;Fabrice&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 11:20:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-zip-a-set-of-pictures/m-p/324975#M11976</guid>
      <dc:creator>fabrice_</dc:creator>
      <dc:date>2012-05-23T11:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to zip a set of pictures</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-zip-a-set-of-pictures/m-p/324976#M11977</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You should try with the operation &lt;CODE&gt;Get Document File&lt;/CODE&gt; and not &lt;CODE&gt;Get Document FileS&lt;/CODE&gt; if you have only a mono valued field which is the case of file:content for example.&lt;/P&gt;
&lt;P&gt;Hope that help&lt;/P&gt;
&lt;P&gt;Fred&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 07:49:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-zip-a-set-of-pictures/m-p/324976#M11977</guid>
      <dc:creator>Fred_Vadon</dc:creator>
      <dc:date>2012-05-24T07:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to zip a set of pictures</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-zip-a-set-of-pictures/m-p/324977#M11978</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 10:07:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-zip-a-set-of-pictures/m-p/324977#M11978</guid>
      <dc:creator>fabrice_</dc:creator>
      <dc:date>2012-05-24T10:07:30Z</dc:date>
    </item>
  </channel>
</rss>

