Regards Scott
HotWax Media http://www.hotwaxmedia.com On 18/12/2009, at 12:14 AM, Terence Ng wrote:
Hi Freeman,Thanks for your help, but I am afraid that you misunderstand my question.I would like to import product name and place it in Catalog Manager>Product>'Internal Name' field. What is the definition field name of 'Internal Name'? Regards, Terence BJ Freeman wrote: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 enternalname2)you can created a second product record and put the enternalname in itfor field in the import file. again it is positional.3)you can duplicate the column in the import file so you can then definethat 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 goingto"Product Name" field in "Override Simple Fields" in "Content" in "CatalogManager". Which field name is going to 'Product' > "Internal Name" in Catalog Manager? Regards, Terence-- View this message in context: http://n4.nabble.com/Internal-Name-tp965769p965894.html Sent from the OFBiz - User mailing list archive at Nabble.com.
smime.p7s
Description: S/MIME cryptographic signature