There are several Google Sheets that record different metrics for my organisation. In most of these I have added charts. Now I have linked those charts to Google Slides, so that it acts as a high-level management report. Some slides have only one chart, but some may have three or four. I don't know if that's even relevant.
Every day, after various updates have been run in the Sheets, I open the slides and click Tools > Linked objects > Update all. Except that sometimes I forget, or I'm away, or whatever.
So, can app script automate this process? I know that you can set triggers to run things at a certain time of day, but I have no idea how to write the script. And can it be done without me (the owner) being logged in? Presumably the code would have to list the ID of the slides.
In case it helps, I have created a Goggle Sheets and Google Slides file (with fake data) and shared them publicly.
https://docs.google.com/spreadsheets/d/1gpJ5M8gAIhTXf4YaqEk3uM0Ie8jyCQ5LJbe3qgcX_o8/edit?usp=sharing
https://docs.google.com/presentation/d/1-BAEl4DJOz4X8l5XBRsR-tKf_sNPWnTv5ujdvoghrd8/edit?usp=sharing
Thanks
There are several Google SheetsDo you mean i) several spreadsheet files or ii) a single spreadsheet file which contains several sheets/tabs, or iii) something altogether different (in which case would you please explain in detail)? #2)Now I have linked those charts to Google Slides...Some slides have only one chart but some may have three or four.Do you mean that i) several "Slides" files or ii) a single "Slides" file , or iii) something altogether different (in which case would you please explain in detail)?but it reported "TypeError: Cannot read properties of undefined (reading 'getSheetsCharts')"Would you advise whether you installed and ran this from a spreadsheet file or from a slides file. FYI, the second question DOES work. When you provide the information in the "clarification" question, I'll post an answer.