Questions tagged [google-slides-api]

Google Slides lets you create, edit, collaborate, and deliver presentations using compelling themes and fonts, embedded video, charts, animations, and more.

Apps can integrate with the Google Slides API to create beautiful slide decks automatically from user- and system-provided data. For example, you could use customer details from a database and combine them with predesigned templates and selected configuration options to create finished presentations in a fraction of the time it would take to create them manually.

Important Links

451 questions
0
votes
1 answer

automatically refresh Sheets chart in Google Slides

I have a chart within google sheets that I would like to have automatically update in google slides every hour. I know you can refresh using the Tools menu and selecting linked objects but I would really like to automate this process without use of…
0
votes
1 answer

How do I split text (from Sheets) in Google Apps Script (in Slides)?

I am accessing data from Google Sheets and putting it onto Google Slides. The data I'm using has dates in the format "Thu Jan 30 00:00:00 GMT-08:00 2020". I want to split it such that I only have "Thu Jan 30". My code so far is: var data =…
0
votes
0 answers

Is it possible to link slides via google slides api?

As specified here, it is possible to "link" slides from another presentation similar to how you link charts from spreadsheets. Is this possible to do via the google slides api?
0
votes
1 answer

Read value from textbox

Hi I am trying to read values from created textboxes in Google Slides So I am creating multiple textboxes by calling this function for each value in arrays function newTextBox(textBoxID, xpos, ypos, textBoxText) { var elementId = textBoxID; var…
0
votes
0 answers

Auto-Updating Spreadsheet Range on Google Slides

So I am kind of at an impasse here. I'm designing a menu for a restaurant, that will display on a TV. The menu has a series of sheets, one for each meal period of each day. There is a master sheet which selects the current meal period menu and…
0
votes
2 answers

Is there a way to use Google App Script to navigate between the thumbnails in the Slides filmstrip?

Is there a way to use Google App Script to change from one slide to another in a presentation while editing it?
0
votes
1 answer

Is there a way (or workaround) to add tables from Google Sheets to a Google Slides presentation using app script?

I'm new to app script and coding in general. I've written a script that uses an "on form submit" trigger to create a new folder in my drive, copy three (3) template files and drop them in there: Two (2) of these are spreadsheets and the other is a…
0
votes
1 answer

Google Slides API returning a 500 server error

Using the Javascript client, I'm submitting a large number of requests to batchUpdate(). The code below was working perfectly until a few hours ago. I've tried reducing the number of requests as suggested here but that seems to make no difference.…
Edward Chanter
  • 146
  • 1
  • 4
0
votes
1 answer

The method presentations.batchUpdate throws "Internal error encountered"

I'm working on generation of Google Presentation and sometimes batchUpdate throws the error: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" } } Here's the example of the request body
Eugene
  • 1
  • 1
0
votes
2 answers

Getting "The provided image is in an unsupported format" error when trying to insert an image in a Google Slides presentation

I am trying to insert an image (PNG) in a Google Slide presentation using the Slides API. I do this by first uploading the image to the user's Drive, obtaining the url, passing that along to the Slide API via the correct request and then deleting…
Karthik V
  • 1,867
  • 1
  • 16
  • 23
0
votes
1 answer

Function to get comments on Google Slide with Google Scripts

I can´t seem to find a way to get the comments made in a Google Slide. If anyone knows please let me know. Thanks
0
votes
1 answer

Can I use Slides API to add an "Agree to Terms" dialogue before allowing viewer access to a Slides presentation?

I have a Google Slides presentation that I'd like to gate with a request to agree to "Terms & Conditions" before viewing. (The dialogue box would include an external link to the legal fine print.) I see that with Google App Script adding a dialogue…
0
votes
1 answer

How to embed a slide in a Google Doc using App Script

I am currently creating a google doc that provides an overview of all the slides in a presentation using App Scripts. At the moment for each slide I create a thumbnail image and add that to the google doc. What would be better is an embed of the…
0
votes
1 answer

Google Slides API: replaceAllLinks?

In my implementation, I go through a loop to duplicate a slide and then update the text and images of each new slide using ReplaceAllText and ReplaceAllImages. I can do that in one batchUpdate. I wish I could do the same and "ReplaceAllLinks" but…
Mkou
  • 525
  • 4
  • 12
0
votes
0 answers

Is preflight requests counted in usage limits?

I have a question regarding Slides API usage limits. The documentation says that default limits for expensive read requests are 100 per user per 100 second. However, I'm getting 429 Too Many Requests response way before that amount of requests. And…