on 07-23-2016 1:52 PM
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\, "
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.