86
Views
3
Comments
How to display data thru ifram in real time
Question

Hi All,

       I updated record in mobile and when i click a button to view the details  it should display the updated details in iframe for which src is web link but iframe is not fetching the updated data still showing data before update only after navigating to other screen its displaying the updated data how to fix this


Thanks,.

R.karthik

    

2020-05-07 18-53-00
Rui Barradas
 
MVP

Hello R. Karthik,

Are you saving your record in the local storage or in the server database?

Most likely, you need to refresh the fetch / aggregate in order to update the retrieved data. Try to use the Refresh Data widget.



Kind regards,

Rui Barradas

UserImage.jpg
karthimani R

Rui Barradas wrote:

Hello R. Karthik,

Are you saving your record in the local storage or in the server database?

Most likely, you need to refresh the fetch / aggregate in order to update the retrieved data. Try to use the Refresh Data widget.



Kind regards,

Rui Barradas

 Hi Rui Barradas,

          Its saved directly in server and i have also refreshed but its not displaying the updated data

 

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi R,


not sure I understand exactly where an why you use an iframe, but I don't think an iframe gets refreshed by anything you do (such as refreshing data) on the screen this iframe is part of.


you have to tell the iframe to reload, I think, maybe with something like :


document.getElementById($parameters.IframeId).contentWindow.location.reload();


this creates an ugly flicker, just google it for javascript to avoid that, there's plenty of examples out there.


Out of curiosity, what is your use case for having your screen inside an iframe ?

Dorine


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