Managing Uploaded Product Images: Identifying and Removing Latest Changes on Cancel

0
When uploading images to my product, they are saved to the database. If I attempt to cancel my changes, is there a way to identify and remove only the latest images that were uploaded during the product modification ?
asked
2 answers
0

Hi Naga,

 

By default the upload will not commit the images to the database. They can hover stay in memory if you don't remove them.

What you can do to avoid this is, in the cancel button run a microflow which retrieves from database the images associated to the product and then change the product to have only that list of images associated. 

 

Hope this helps!

answered
0

Hi Naga,

 

Since you need an image object in order to upload the image, perhaps you can create a custom cancel microflow to delete the object upon cancelling?

answered