84
Views
7
Comments
How we can Update Image on Screen?
Application Type
Traditional Web

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 ? 

2024-04-15 11-41-04
Porselvan Gnanavelu

Hi,

Make sure in the button property, the method is set to 'Submit'.

2022-12-05 07-28-20
Nihil Gujar

Actually, I Used Ajax Refresh and Refresh Data that's why Method is currently Ajax submit.

2024-04-15 11-41-04
Porselvan Gnanavelu

Just refer the attached OML it's working for me.

test.oml
UserImage.jpg
Accelance Partners

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

UserImage.jpg
Rakhi Chouhan

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

2022-01-13 08-29-52
Saravanan Santhanam

Hi @Nihil Gujar 

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.

2025-04-17 05-42-16
Ajit Kurane

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.