on 02-13-2019 10:16 AM
Is it possible to export Data of an attribute and import it to another with impex?
Details: I would like to export Data from "myOldAttribute" at the type "MyDataType" and import it to a new attribute "MyDataType" of the same type "MyDataType". Do i need to store the export to a file and reimport it again with the adjustment to the new Attribute or is it possible to directly reimport the result of the export?
Example:
UPDATE MyDataType;pk;myOldAttribute
INSERT_UPDATE MyDataType;pk[unique=true];myNewAttribute
Thanks for your hints.
You need to export the data using the ImpEx and then import it using the updated ImpEx. I believe you are already aware that Hybris exports the data into a .zip file. You need to copy the data from the extracted file and import it using an ImpEx with the header pertaining to the new itemtype.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are most welcome.
In order to understand includeExternalDataMedia
, please login to backoffice as an admin and go to System > Script Generator. Click the button, GENERATE and copy any of the export ImpExes from the generated script and execute it in hAC > Console > ImpEx Export. If you extract the generated .zip file, one of the files you will get is importscript.impex
where you will find includeExternalDataMedia
.
Please check the following links for more information:
User | Count |
---|---|
8 | |
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.