Hi

 

I have a list of persons that I want to import into OfBiz using the Data
File tool

I have two files, names.xsd and names.csv

However when I try to use the Data File tool I get a FreeMarker template
error. How do I import a list of names?

I am using OfBiz 14.12

 

The names.csv contains the data like this

 

Harry,Smith

 

The names.xsd file looks like this

 

contains

<?xml version="1.0" encoding="UTF-8" ?>

<data-files xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

 
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/datafiles.xsd";>

    <data-file name="names" separator-style="delimited" type-code="text"
text-delimiter=",">

        <record name="person">

            <field name="firstName" type="String" postion="0"/>

            <field name="lastName" type="String"  postion="1"/>            

        </record>

    </data-file>

</data-files>

 

Regards

 

Andrew Dent

 

Reply via email to