Re: Google Apps Script caching problem

332 views
Skip to first unread message
Message has been deleted

Antoine Dubuc

unread,
Jul 6, 2022, 5:25:42 PM7/6/22
to Google Apps Script Community
Okay so it turns out I had the appscript open in another window and that confused it well very well. 

On Wednesday, July 6, 2022 at 2:10:07 PM UTC-7 Antoine Dubuc wrote:
Greetings,

I made a 62 seconds video to respect your time. 

In a nutshell, the google.script.run.withSuccessHandler feature, when use in the context of a web app, appears to cache data and return data that was previously used, not the current data stored in the spreadsheet.

In the video I simply have a get data from "A1" in code.gs that's passed to a button that alert(a1_value) and that alert shows not whats in the sheet right now but what was there initially, half an hour ago?

thank you for your time,

Antoine Dubuc
Reply all
Reply to author
Forward
0 new messages