cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Import values through CSV without saving in Backoffice

hima_gh
Explorer
0 Likes
297

We have a requirement, where we need to add values to a model through csv(wizard flow) through backoffice and values should not be saved while import process is happening. Then in backoffice, User has to validate the values in backoffice which are imported and then click on save button in editor area to save it. We have tried without saving model and after import is done, we are not able to see the imported values in backoffice and SAVE button is not enabled. Can you please provide suggestions how we can achieve this.?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Hima,

you seem to need an import of data with a staging step.

If the hybris type can be versioned, you can import the data to a stage catalog version and then the user checks and synchronizes the values to the online version. You add a catalog version to any hybris type.

Other easy solution is to create a new hybris type (ImportedProduct), then the wizard must create a new importedProduct for each line of the CSV. Afterwards the user goes to the list of imported products, see and checks the fields and with an backoffice action all the new values are copied to the final product and the importedProduct model is removed (or kept for troubleshooting purposes and removed by a cronjob after 30-60 days). In this example I used product but you can do it with any other hybris type.

Please let me know if this helps you.

Regards