Skip to Content
0
Former Member
Jul 23, 2016 at 12:52 PM

ProductFeature Impex Import

673 Views

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