# How to force a Iframe to refresh

**URL:** <https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741>\
**Category:** Ask for Help\
**Created:** [July 30, 2021, 12:12pm UTC](https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741 "2021-07-30T12:12:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PabloMFalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablomfalero/32/31166_2.png) [@PabloMFalero](https://community.glideapps.com/u/PabloMFalero)\
**Post date:** [July 30, 2021, 12:12pm UTC](https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741/1 "2021-07-30T12:12:23Z")

</div>

Hi people, I’m looking to force an Iframe to refresh, without having to refresh the whole app, any helpers?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 30, 2021, 12:15pm UTC](https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741/2 "2021-07-30T12:15:45Z")

</div>

Good question.

When I had to embed a stock chart a while ago, what I did was applying a constantly changing date & time value to the end of the URL. I’m not sure if that applies to iframes but worth a try.

So I convert the “now” value to a single number. Something like 202107301904.

Then the URl would be like [https://example.com/example?random=202107301904](https://example.com/example?random=202107301904). I did that with a template.

Then every time Glide’s “now” changes it forces a refresh automatically.

---

<div class="post-metadata">

**Author:** ![PabloMFalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablomfalero/32/31166_2.png) [@PabloMFalero](https://community.glideapps.com/u/PabloMFalero)\
**Post date:** [July 30, 2021, 12:56pm UTC](https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741/3 "2021-07-30T12:56:11Z")

</div>

I’ll try, what I’m trying to embed is a graph from Sheets, but in order for the updates to display I neee the app to update, but I’ll try your method to see if it works, thanks Dinh

---

<div class="post-metadata">

**Author:** ![PabloMFalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablomfalero/32/31166_2.png) [@PabloMFalero](https://community.glideapps.com/u/PabloMFalero)\
**Post date:** [July 30, 2021, 7:21pm UTC](https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741/4 "2021-07-30T19:21:19Z")

</div>

@Manan_Mehta do you have a clue how to do this…maybe with the new code column and some js?

---

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [July 30, 2021, 9:11pm UTC](https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741/5 "2021-07-30T21:11:12Z")

</div>

Haven’t come across a fix for that. I personally prefer using Quickcharts to display any graphs which Glide cannot create. They are pretty much instant.

---

<div class="post-metadata">

**Author:** ![PabloMFalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablomfalero/32/31166_2.png) [@PabloMFalero](https://community.glideapps.com/u/PabloMFalero)\
**Post date:** [July 31, 2021, 8:29am UTC](https://community.glideapps.com/t/how-to-force-a-iframe-to-refresh/29741/6 "2021-07-31T08:29:45Z")

</div>

I know, but this is a hard one, and getting the graph from sheets would make my life much easier 🙂
