The record is positional
so what ever first field is in your import file will be assigned
productID, and so on.

you have couple of choices here.
1)you can use programming per the example and use the productID as
enternalname
2)you can created a second product record and put the enternalname in it
for field in the import file. again it is positional.
3)you can duplicate the column in the import file so you can then define
that as the eternalname.

you can also add this to the record
<field name="productTypeId" expression="true"
default-value="FINISHED_GOOD" type="String"/>

<field name="weightUomId" expression="true" default-value="WT_lb"
                type="String"/>

<field name="quantityIncluded" expression="true" default-value="1"
                type="String"/>




Terence Ng sent the following on 12/16/2009 10:16 PM:
> Hi,
> 
> <data-files xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/datafiles.xsd";>
>    <data-file name="Product" separator-style="delimited" type-code="text"
> delimiter=";">
>        <record name="Product" limit="many">
>          <field name="productId" type="String"/>
>          <field name="productName" type="String"/>      
>          <field name="primaryProductCategoryId" type="String"/>      
>          <field name="brandName" type="String"/>                
>        </record>
>    </data-file>
> </data-files>
> 
> I have found that if field name="productName", the product name is going to
> "Product Name" field in "Override Simple Fields" in "Content" in "Catalog
> Manager".
> 
> Which field name is going to 'Product' > "Internal Name" in Catalog Manager?
> 
> Regards,
> Terence

Reply via email to