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
5
votes
3 answers

How to automatically update charts linked to Google Sheets?

I have a Google Slides presentation with charts that are linked to a specific Google Sheets Spreadsheet. As there are many charts in the presentation, I'm looking for a way to update all these linked charts automatically, or at least all of them at…
5
votes
1 answer

Cannot create a presentation with PageSize on Google Slides API

I'm trying to create a new 4:3 presentation, not 16:9. I read this reference and write some ruby codes, but it didn't work. The new presentation's height is different from what I specified. Method: presentations.create  |  Slides API  |  Google…
hkdnet
  • 81
  • 3
4
votes
3 answers

How to correctly access properties in a JSON from Python?

EDIT: As pointed out by some users, the request does not actually returns a JSON, but a string encoded JSON. The issue here is not actually parsing the JSON in python, but writing it in such a way that a request can be sent to the API. Therefore,…
user13192625
4
votes
2 answers

Is there a way to replace the text inside a TextBox shape while retaining the text formatting?

I'm trying to replace text inside a textbox of a slide while retaining the text formatting of the previous text. Is there a way for this to work using google apps scripts methods? I tried converting the Google Slide to a PDF then to DOC to get the…
4
votes
1 answer

How to copy a slide from one presentation to another?

I am trying to copy slides from a source presentation and append them to the end of the destination presentation. I have searched solutions on SO but they use the google apps script. I am looking for a solution that can use google slides or google…
4
votes
2 answers

Is it possible to add local image to Slide using Google Slides API and Python?

I want to create a new slides out of the local images using Python. Unfortunately, I do not see an example to upload a local image, only an image URL via the official documentation. That's why I'm wondering is it possible to do that at all? If it…
Steve S
  • 41
  • 3
4
votes
2 answers

Is there a known way to update the page setup size In the Google Slides API?

I've been poking around in the Google Slides API documentation. I can only find a way to update the element sizes. What I want to do is update the page setup size to widescreen 16:10. I looked at this documentation and this but this just references…
Joshua Jones
  • 109
  • 9
4
votes
1 answer

When trying to convert ppt to Google Slide receive converting error

In my google script program, I am trying to iterate over a folder and make all of the ppt files into google slide files. function makeSlides(url) { slideUrls = []; var id = getId(url); var powerPoints =…
4
votes
4 answers

Downloading a Google Slides presentation as PowerPoint doc using Google Apps Script?

The GUI of Google Slides offers to download a GSlides presentation as a Powerpoint (myFile.pptx). I could not find the equivalent in the Google Apps Script documentation - any pointer? EDIT Thanks to comments and answers, I tried this…
seinecle
  • 10,118
  • 14
  • 61
  • 120
4
votes
1 answer

Strategies to GoogleDrive API limit export download 10 mb

We've been developing a solution which is responsible for generating a PPT with a lot of images embedded and then downloading in the browser via Google Slides and Google Drive API. So, we discovered in the middle of the project that there's a…
4
votes
4 answers

Google slides auto update links /tables linked from google sheet

I have a Google Slides presentation that has some linked cells/table to data in Google Sheets. Currently, I have to manually click each linked cell/table to update values. I need a script for Google Slides that would auto-update / batch-update /…
4
votes
3 answers

Update Image in Google Slides when Image updated in Google Drive

My objective is to automatize the creation and update of a Google Slides presentation based on Images in a folder: The Current workflow which is working correctly, but which I want to automatize is follows: Images are in a Google Drive Folder I…
4
votes
1 answer

Image from Google Drive to Google Slides via DriveApp.getFileById

I want to import an image to Google Slides over Google Apps Script after the instruction Google Developers - How to... function createImage(presentationId) { // Add a new image to the presentation page. The image is assumed to exist in // the user's…
4
votes
0 answers

Copy one slide from a google presentation into a new google presentation using API

Is it possible to copy inside an empty Google Presentation some slides from another Google Presentation using Google API?
3
votes
1 answer

How to align text vertically in a text box using google app script for slides

I am working on a project that requires text to be aligned vertically in a text box on a google slide. I have the following function that aligns the text horizontally to the left (START) position of the box. How can i set the box to also align…
1
2
3
29 30