Hello Everyone,
Actually I used Update Product for updating my Product Image from Product Table, But Whenever I do Update, that time Image is updated in Database But not on Screen, For that I have to use ctrl+f5 all the time.
Anyone Know how to fix it ?
Hi,
Make sure in the button property, the method is set to 'Submit'.
Actually, I Used Ajax Refresh and Refresh Data that's why Method is currently Ajax submit.
Just refer the attached OML it's working for me.
Hi @Nihil Gujar
In your case, you have to refresh the aggregate after updating the record so that it will refresh the screen and the image will be visible to you.I hope this will work
Thanks
Shriyash
Hi @Nihil Gujar ,
I think this happens because you are only updating your image not refreshing it. You have to refresh your updated data agrregate then it will show your desire output.
Hope it is helpful for you.Thanks
Step1: Update the Image in the database
Step2: Refresh the Aggregate which retrieves the Image on the screen.
Step3: Ajax Refresh the Container or Image element holding the Image on the Screen.
I hope this helps!
Regards,
Saravanan Santhanam.
Hi Nihil,
Here is the same issue. You can refer oml file from that discussion.
https://www.outsystems.com/forums/discussion/70986/how-can-we-update-product-image-and-how-to-display-it-on-product-list/
Hope it helps you.
Thanks,
Ajit Kurane.