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.
397
questions
1
vote
1
answer
39
views
Letting users embed Google Slides/PowerPoint in my app, terms of use?
I have an app that lets users upload meeting resources into one single place and present the whole meeting with different tools as a single presentation.
I would like users to be able to embed their ...
1
vote
0
answers
15
views
Google Apps Script - Slides - replaceWithImage too slow
I'm using Apps Script to generate slides containing tiles.
Each tile contain some information, example: name, ID and an image.
To generate each slide & each tile, I'm using a template composed of ...
0
votes
0
answers
32
views
In Google Slides, trying to set AutofitType to 'Shrink text on overflow' ('TEXT_AUTOFIT')
I have tried the following code but discovered that although the AutofitTypes are enumerated, only "NONE" works.
requests = [(
{ updateShapeProperties: {
objectId: ...
0
votes
0
answers
37
views
How can I generate a Google Slides document from parts of other Google Slides documents?
I'm wanting to, preferably using the Google Slides API, programatically generate a new Google Slides document which pulls in some form submitted variables and various pages from other Google Slides ...
-1
votes
1
answer
53
views
Is there any way to change a Google Slides presentation without reloading it?
I'm basically trying to build a game board. For simplicity's sake, imagine a Jeopardy! board. I'd like to be able to click on a square (imagine it says $200) and go to the question set for that square....
0
votes
0
answers
7
views
How to import Google Slides API in Android Studio
Currently working on a project for a presentation system using an android phone. I wanted to ask if anyone's tried working with the google slides API on Android and if so how did you import it.
1
vote
1
answer
60
views
Google Apps Script: TableChart - How to use cssClassNames
I'm trying to modify the format of the Table Chart that I've added to a Google Slide.
I've found that the setOption would be the function to use to achieve this but I haven't been able to validate if ...
-1
votes
1
answer
73
views
google appsScript wait for batchUpdate results to take affect on slide
I'm using the Slides API in my appsScript to change a tables column size, when later I query the tables column width I still get the old values.
When the script ends I can see in slides the table ...
1
vote
2
answers
162
views
Google Apps Script: Insert Data Table into Google Slide
I'm running into a problem when trying to insert my DataTable (using the Charts service) into a Google Slide.
The problem appears when I try to get the chart's Blob, or getting the chart as 'image/png'...
0
votes
1
answer
21
views
Google SLIDE API global batch.add request Python
I've done a Python program that reads data from GCP, GKE etc, compile some of them in a spreadsheet and replace placeholder text in a slide for reporting purposes.
I have several functions that call ...
0
votes
1
answer
84
views
Creating new copies of slides with data from google sheets without loosing original template
I have made a script that replaces placeholder text in google slides with information from google sheet.
However once I have run the script once my slides template is overwritten with the injected ...
0
votes
0
answers
53
views
Access to provided image was forbidden
Invalid requests[0].replaceImage: Access to the provided image was forbidden
I am uploading an image in the drive and trying to add it to slides using the python APIs.
Since the image needs to be ...
0
votes
1
answer
154
views
How to render a Google Slides presentation via API
I'm trying to render a Google Slides presentation in my web app.
I'm using the presentations.get() method that the API provides to bring in the data from a presentation, but the way the answer comes ...
-1
votes
1
answer
60
views
Script to Prevent Google Slides from Opening New Tab When Touched vs. Clicked
I created a digital Pop It in Google Slides with about 120 slides, which is Published to the Web from the File menu. Each slide has a transparent image overlaying it that is linked to Next Slide. When ...
0
votes
0
answers
12
views
Clock function in Google Slides running slower than actual time
I have a google slide on a loop that shows the time clock in each slide. Everyday that goes by the clock gets off by a minute. Is there a way to make the clock accurately display the real-work time ...
0
votes
0
answers
19
views
Google Apps Script - Retaining Slide Comments After Slide Update or Delete
I'm working on a Google Apps Script which reads in rows of data from a Google Sheet, and creates a slide (It is basically a table on the slide which I populate with the data from the sheets).
The way ...
0
votes
0
answers
37
views
Copy presentation with selected slides with Google::Apis::SlidesV1 - Ruby
I'm in need to copy presentation from Google Slides using API Google::Apis::SlidesV1::Presentation. I have ~50 slides in my main presentation and depends of params I'm copying selected slides into new ...
0
votes
1
answer
151
views
How do I upload image from Google Sheets to Google Slides
As the title suggests, I currently have codes taking a screenshot of a website and putting it on my Google Sheets. My question is how to then transfer that image to the presentation? The image might ...
1
vote
1
answer
32
views
How do I set the language of a Google Slide Presentation via API?
I need to change the language of a google slide presentation.
To produce this presentation, I am using the Google Drive API & Google Slide API (nugets)
I am copying a presentation in English, then ...
0
votes
1
answer
34
views
Google Slides API reports Invalid requests[0].updateTableCellProperties: Invalid field: table_cell_properties
Trying to troubleshoot an error message my app gets after sending a batchUpdate request to Google Slides API
Invalid requests[19].updateTableCellProperties: Invalid field: table_cell_properties
The ...
0
votes
1
answer
49
views
Field Mask value for UpdateImageProperties in Google Slides C#
How do I find out the value for file mask.
The property that I am trying to set is brightness
I have tried different values but I am unable to figure out. I have tried brightness, imageproperties and ...
1
vote
1
answer
175
views
Linked Google Sheet in Google Slides
I embedded a google sheet into google slides. When in slides, the spreadsheet is 5 lines too long for the slide page (8.5 x 11). I can resize the width of the spreadsheet, but can't get resize the ...
1
vote
0
answers
95
views
Invalid requests[0].replaceImage: Access to the provided image was forbidden
I'm trying to load an image and video into Google Drive and then transfer it over to Google Slides.
For some reason it doesn't work every time.
I'm getting the error:
Invalid requests[0].replaceImage:...
0
votes
2
answers
79
views
Check String equality of Slide textbox
I'm using SlidesApp.getActivePresentation.getSlides[0].getPageElements()[0].asShape().getText().asString() to get the text of the title of the slide. However, when I try to check the text in an ...
0
votes
1
answer
171
views
Creating Thumbnail of only the first Slide of a Google Presentation using Google Apps Script
I have been using a script so far to make png thumbnails of my Google Slides Presentations with Google Apps Script.
However, I wonder how I can limit it to only be the first slide and not for each ...
0
votes
1
answer
48
views
Queuing users for Slides API Batch Update in App Script [duplicate]
My users in App Script read their queue number from a Spreadsheet:
var array = sessionsSheets.getRange(row, 2, 1, 3).getValues()[0];
var questionNumber = array[2]; //This is the variable of ...
0
votes
2
answers
79
views
How to synchronize asynchronous calls to Slides api and Slides class built in App Script?
I am trying to create a slide in Google App Script and then add a text box to this newly created slide. The first call is to the Slides api and the second call is made using inbuilt methods. However, ...
0
votes
1
answer
39
views
GAS - create google slide scribble line with script
I would like to create a line with some point array with google-slide-api script. but I do not found any document about how to do it.
Then I create a line with scribble tool manually then read it by ...
0
votes
0
answers
46
views
GAS - Add line to found text with google slide api
I have a slide and has some text box, I would like to search such text boxes and draw a line from start to end on found text.
Current API can get the startIndex and endIndex, but I do not found the ...
1
vote
1
answer
120
views
Replacing shapes by colour in Google Slides & Google Apps Script
I am attempting to replace shapes color in a Google Slide presentation, using Google Apps Script.
function changeColors() {
const objectId = "#an-id#"; // Please set the object ID.
...
0
votes
0
answers
254
views
Google Apps Script: Color a table cell on the Google Slide, based on the value of a cell on the Google Sheets
I'm reading rows from a google sheet and creating a slide for each of them on the google slides. To do this, I use a template slide which is the first slide, which has placeholders for each column's ...
1
vote
0
answers
36
views
Is there a way to convert JSON data received from Google Slides API back into the original presentation?
I am working on a functionality where I ask the user to input the ID of Google Slide. I then call Google Slides API in my Ruby on Rails backend from where I return to the React frontend a response ...
2
votes
0
answers
101
views
Set a color for visited links in Google Slides using the Google API?
I saw on the Google API resources that mapping can be set for FOLLOWED_HYPERLINK, which is not currently an option in Google Slides. How can I change the visited links color using the Google Slides ...
0
votes
1
answer
156
views
Setting the autofit text property
I want to set the textbox autofix as shrink to shape,
I dont understand how to set the autofit for existing as SHRINK text on overflow
I have tried with
Slides.Presentations.Pages[0].get(...
1
vote
2
answers
169
views
In which cases the mimetypes of google docs changes?
I have seen the file mimeType of one of google presentation on my team drive is changed from application/vnd.google-apps.presentation to application/vnd.openxmlformats-officedocument.presentationml....
1
vote
1
answer
100
views
Renaming Google Slides Presentation (google slides API)
I'm trying to figure out how to rename a google slides presentation (ie. the document, not an individual slide). I've gone through a good amount of the Google Slide API Request documentation, but am ...
2
votes
3
answers
648
views
Please Look Again: Google Advanced Slides API insert text in existing table
QUESTION: How do I insert text into cells of an existing table in Google slide?
I have an existing presentation with a mockup table with all the dimensions and colors as wanted. It does not contain ...
0
votes
0
answers
101
views
Google Slides API seemingly ignoring API key
I believe I'm having the same issue outlined here but that thread never achieved a satisfactory resolution. Essentially I already have a working interface for the Google Sheets API, I added the ...
0
votes
0
answers
87
views
Google Slides API batchUpdate Returns 500 Internal Error
I am currently doing batchUpdate request with around 60-70 requests in a single call and I am getting Internal Error (500). Does anyone know what can be the issue?
presentations.batchUpdate({
...
0
votes
0
answers
36
views
google slide api draw straight line between two points with python
I am studying google slide api and try to use python to draw straight line between two point!
I can define a line with size (width/height) but don't know how to define a line with start and end point!
...
0
votes
1
answer
61
views
GET a slide, edit it, and POST it again with minor changes
I was hoping someone could help me with something i've been stuck on. I'm not even sure if it's possible to do.
So i basically have a huge Json file which includes all objects used for a certain slide ...
1
vote
0
answers
153
views
Google SlidesApp: Duplicate a Google slide Shape and maintain "Shrink Text on overflow" property
Using Apps Script, I have to copy a group of shapes to another slide and adjust ratio.
This shape contains texts and these texts are not adjusted when the scale ratio is applied to the group.
When I ...
0
votes
0
answers
60
views
How do I create a text placeholder within a shape using Google slides api?
I want to create a TEXT_BOX shape in Google Slides using the API. With the following code, I am able to create it.
{
createShape: {
objectId: uuid.v4(),
...
1
vote
0
answers
220
views
Can you remove a Google Apps Script from a file using Apps Script?
I've got a container bound script which makes a copy of the slidedeck it's running in. What I'd like to do is either remove that script from the copy while it's being copied or after the copy is done ...
0
votes
1
answer
169
views
How to I specify image size of google slide API PNG export?
I was able to successfully run the below code to generate a URL with an image of my google slide but when I try specifying the thumbnailProperties, it says: "Got an unexpected keyword argument &...
0
votes
0
answers
39
views
Google Slides API - where are paddings for text box
I can't find where are paddings writen for text_box in google slides presentation recived by Google Slides API
0
votes
1
answer
724
views
How to replace Text with Image on Google Slide using Google Script
How do I get the same result using google Script, not with the Google Script API. I am trying to replace Text with Images on Google Slides using Google Script. Thank you in advance...
function ...
0
votes
3
answers
254
views
Google Slide API script updateShapeProperties autofit
Getting error "GoogleJsonResponseException: API call to slides.presentations.batchUpdate failed with error: Invalid requests[3].updateShapeProperties: Invalid field: autofit_type"
but I ...
2
votes
0
answers
142
views
Why Google Slides not Autofit text in placeholders?
I have a simple slide where the placeholders are all set in: Shrink text on overflow.
Despite this, the text is not reduced and through the Api I discover that the Autofit is not set.
In setting it, ...
0
votes
1
answer
208
views
GOOGLE SLIDES: Prevent User From Moving To The Next Slide Using The Keyboard
I have a very simple presentation that I created using Google Slides and I published it as a website (Publish To The Web). The link is below.
What I want is to prevent the user from navigating the ...