cancel
Showing results for 
Search instead for 
Did you mean: 

ProductFeature Impex Import

Former Member
0 Kudos

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\, "

Former Member
0 Kudos

Can you find a product with code, Ptest2 in your system?

Former Member
0 Kudos

Yes, that one was in the system. We also updated some other productfeatures of Ptest2, they were in with the same Impex Header.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)