06-17-2024 10:51 AM
Hi,
I have a Google slide presentation that I'm updating with variables from a Google Sheet. Everything is working properly except there is a chart in a Google slide that is sourced from a Google Sheet, but I am having trouble updating the chart in Google slides. Has anyone done this successfully before?
Solved! Go to Solution.
07-27-2024 07:31 PM - edited 07-27-2024 07:32 PM
Hi, @jarh15!
To update the chart in Google Slides (linked from Google Sheets), you must first update the source data in Google Sheets.
Once done, refresh the chart in Google Slides using the Google Slides API. But you first need to get the slide object ID. Here’s how you can do that:
{
"requests":[
{
"refreshSheetsChart":{
"objectId":"g2eee57255fc_0_5"
}
}
]
}
We also have Google Slides Community Connector. You can install it here. Otherwise, use the HTTP connector.
Please check out these helpful resources for your reference :
https://developers.google.com/sheets/api/samples/charts
https://developers.google.com/slides/api/reference/rest/v1/presentations/request#RefreshSheetsChartR...
07-27-2024 07:31 PM - edited 07-27-2024 07:32 PM
Hi, @jarh15!
To update the chart in Google Slides (linked from Google Sheets), you must first update the source data in Google Sheets.
Once done, refresh the chart in Google Slides using the Google Slides API. But you first need to get the slide object ID. Here’s how you can do that:
{
"requests":[
{
"refreshSheetsChart":{
"objectId":"g2eee57255fc_0_5"
}
}
]
}
We also have Google Slides Community Connector. You can install it here. Otherwise, use the HTTP connector.
Please check out these helpful resources for your reference :
https://developers.google.com/sheets/api/samples/charts
https://developers.google.com/slides/api/reference/rest/v1/presentations/request#RefreshSheetsChartR...