<?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 can I supply multi-value property values with the bulk document importer? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326253#M13254</link>
    <description>&lt;P&gt;Try to add a pipe "|" at the end of the string for multi valued property even if there is only one item.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2016 10:38:22 GMT</pubDate>
    <dc:creator>zyx974_</dc:creator>
    <dc:date>2016-11-03T10:38:22Z</dc:date>
    <item>
      <title>How can I supply multi-value property values with the bulk document importer?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326250#M13251</link>
      <description>&lt;P&gt;I am attempting to use the &lt;A href="http://doc.nuxeo.com/display/public/ADMINDOC/Bulk+Document+Importer"&gt;bulk document importer&lt;/A&gt; and the &lt;CODE&gt;FileWithIndividualMetadasSourceNode &lt;/CODE&gt; to load custom metadata for many files in the filesystem. I have tried several formats for the properties documents listed there. Right now I have .properties files with contents like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;dc\:title=Social media marketing
book\:bookEdition=
creativework\:publisher=Pearson
creativework\:keywords=Internet advertising|Internet marketing|Online social networks|Social media
creativework\:author=Tuten, Tracy L.|Solomon, Michael R.
creativework\:copyrightYear=2013
book\:isbn=9780132551793
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But the importer log reports errors like this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DEBUG : Unable to create leaf document for /Users/shuwig/prod_data/isbnpdfs/9780071748469.pdf:org.nuxeo.ecm.core.api.model.PropertyConversionException: Property Conversion failed from class java.lang.String to class [Ljava.lang.Object;: /creativework:author&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The related parts of the schema simply look like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;xs:simpleType name="textList"&amp;gt;
     &amp;lt;xs:list itemType="xs:string"/&amp;gt;
   &amp;lt;/xs:simpleType&amp;gt;
    ...
   &amp;lt;xs:element name="author" type="lt:textList"/&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and everything about my document type works fine except for importing in bulk.&lt;/P&gt;
&lt;P&gt;Is it possible to import multi-value metadata elements via the bulk importer? How can I do this without receiving the above error?&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 16:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326250#M13251</guid>
      <dc:creator>Steven_Huwig1</dc:creator>
      <dc:date>2014-05-15T16:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I supply multi-value property values with the bulk document importer?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326251#M13252</link>
      <description>&lt;P&gt;I did some more investigation and found something odd. It's not the fields that have multiple values that are failing, it's the multi value fields with only one entry in this instance, e.g. `creativework\&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 23:21:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326251#M13252</guid>
      <dc:creator>Steven_Huwig1</dc:creator>
      <dc:date>2014-05-15T23:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I supply multi-value property values with the bulk document importer?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326252#M13253</link>
      <description>&lt;P&gt;Maybe surrouding them with braces, like creativework\&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 11:18:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326252#M13253</guid>
      <dc:creator>Greg_Drayon</dc:creator>
      <dc:date>2015-11-13T11:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I supply multi-value property values with the bulk document importer?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326253#M13254</link>
      <description>&lt;P&gt;Try to add a pipe "|" at the end of the string for multi valued property even if there is only one item.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 10:38:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-supply-multi-value-property-values-with-the-bulk/m-p/326253#M13254</guid>
      <dc:creator>zyx974_</dc:creator>
      <dc:date>2016-11-03T10:38:22Z</dc:date>
    </item>
  </channel>
</rss>

