Skip to Content
author's profile photo Former Member
Former Member

ProductFeature Impex Import

If anyone can answer these questions? 1. How to import multilanguage classification attributes use insert_update productfeature? 2. How to import classification attributes not multilanguage use insert_update productfeature?

We have encountered some problems that some product features are imported but some are not. In the impex below, the first one is imported but the second one is not. Though the import cronjob finished success.

The classificationattribute here is defined as multilanguage = F, a multiple string field. Some says language(isocode)[allownull=true] should be language(isocode)[allownull=true, forcewrite=true], but did not work. I also tried to exclude language(isocode), but cronjob ends with error.

The impex failed. INSERT_UPDATE ProductFeature;product(code,catalogVersion(catalog(id),version))[unique=true];classificationAttributeAssignment(classificationClass(code,catalogVersion(catalog(id),version)),classificationAttribute(code,systemVersion(catalog(id),version)))[unique=true];description;featurePosition;language(isocode)[allownull=true];qualifier;unit(code,systemVersion(catalog(id),version));valueDetails;valuePosition[unique=true];valueType;value[translator=de.hybris.platform.catalog.jalo.classification.impex.ProductFeatureValueTranslator] ;Ptest1:ctGlobal:Staged;testclscategory:testProductClassification:1.0:testclassification:testProductClassification:1.0;;0;en;testProductClassification/1.0/testclscategory.testclassification;;;0;1;"string, SAMPLE; Import\, " ;Ptest2:ctGlobal:Staged;testclscategory:testProductClassification:1.0:testclassification:testProductClassification:1.0;;0;en;testProductClassification/1.0/testclscategory.testclassification;;;0;1;"string, SAMPLE; Import\, "

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2016 at 03:06 AM

    We found a solution. use language(isocode)[forceWrite=true, unique=true] can import. But the problem will be even if it is not a multilang attribute, a localized recored will be generated. Anyway, got the answer.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.