Oh you mean internalName?  You can see all the field names here: 
https://demo.ofbiz.org/webtools/control/FindGeneric?entityName=Product&find=true&VIEW_SIZE=50&VIEW_INDEX=0

Regards
Scott

On 18/12/2009, at 1:06 AM, Terence Ng wrote:


Hi Scott,

I mean the ??? in:
<field name="???" type="String"/>

which I can import Product Name to 'Product' > "Internal Name" in Catalog
Manager?

<field name="productName" type="String"/> this one import Product Name to
Catalog Manager>Content>Product Name.  This is not what I want.

<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>

Regards,
Terence


Scott Gray-2 wrote:

It's basically just the name of the product that isn't shown to the
customer i.e. the name of the product internal to the company

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
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




--
View this message in context:
http://n4.nabble.com/Internal-Name-tp965769p965894.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





--
View this message in context: 
http://n4.nabble.com/Internal-Name-tp965769p965922.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to