Hi Robert, Ideally it should work! Did you tried to debug it? Check values of record in ModelDataFileReader.java at line#95.
-- Thanks And Regards Sumit Pandit Tata Consultancy Services Cell:- 917503046188 ____________________________________________ ----- Original Message ----- | From: "Robert G." <g...@mercon24.de> | To: user@ofbiz.apache.org | Sent: Saturday, March 30, 2013 12:01:23 AM | Subject: Re: Import Export CSV Files for products | hey, I started to use the data files tool to create an entity xml | file from | csv for an easy import. | now I am wondering if I can use multiple record entries in one | definition | file...because when I do that, it ignore's all besides the first | record. | Also I need to define the column in the csv for the field. I tried | "position="1"" i.ex., but this is also ignored. | The reason for my question is, that normally I have to put things in | multiple entities, but all information are settled down in one csv | file. So | I want to avoid to click 5 times import with the tool and also to | avoid to | split my csv file in 5 files. | any ideas? | *example:* | /<?xml version="1.0" encoding="UTF-8" ?> | <data-files xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/datafiles.xsd"> | <data-file name="partyManufacturers" separator-style="delimited" | type-code="text" | delimiter=","> | <record name="Party" limit="many"> | <field name="partyId" type="String" position="0"/> | <field name="partyTypeId" type="String" position="1"/> | <field name="statusId" type="String" position="2"/> | </record> | *the following entry is completely ignored, also the position entries | are | ignored for all records* | <record name="PartyGroup" limit="many"> | <field name="partyId" type="String" position="0"/> | <field name="groupName" type="String" position="3"/> | <field name="logoImageUrl" type="String" position="4"/> | </record> | </data-file> | </data-files>/ | -- | View this message in context: | http://ofbiz.135035.n4.nabble.com/Import-Export-CSV-Files-for-products-tp4640128p4640236.html | Sent from the OFBiz - User mailing list archive at Nabble.com. =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you