17
Views
5
Comments
Solved
Refresh Webblock using popup
Question

Hi Experts,

I'am having a hard time refreshing the image in my web block.

This is where i click to open the pop up

And this is the OnNotify

 

mvp_badge
MVP
Rank: #5
Solution

Hi, 

Check if the image is being cached. 

If it is, refreshing the image will work only if the image has the filename set to an expression that changes when you refresh the image, otherwise the browser will find the file in its cache and will not download the new image. 

Cheers 

mvp_badge
MVP
Rank: #90

Hi Ja,

I also encountered the same, while creating the sample app. As already mentioned by Eduardo, the updated image is not reflecting even after Ajax and DataSource refresh because of the Image Caching (check the same page in Incognito Browser Window)

See this sample app.. 

Attached sample app implementation 


Hope this helps you!


Regards,

Benjith Sam

UploadExecutiveImageTask.oml