Adds a new slide to the end of the presentation.
class SlidesApp method .appendSlide()
SlidesApp is the Apps Script service.
.appendSlide() is the method name you will see after a dot in your code.
What it does
Why it's used
- Add a summary slide at the end with this week's metrics.
- Clone a standard closing slide into every new deck.
Common errors
- Forgetting parentheses on appendSlide. Write SlidesApp.appendSlide(), not SlidesApp.appendSlide or appendSlide by itself.
- Skipping dots between chained calls. Each step needs a dot, like SlidesApp.appendSlide().
- Adding spaces where they do not belong. Write SlidesApp.appendSlide(), not SlidesApp .appendSlide(), SlidesApp.appendSlide (), or SlidesApp . appendSlide().
- Wrong capitalization. Use SlidesApp and appendSlide, not slidesapp or appendslide.
Explore
Related methods
-
.create()
Creates a new blank Google Slides presentation.
-
.getSlides()
Returns every slide in the presentation.
-
.openById()
Opens an existing presentation by its file ID.
-
.getActivePresentation()
Returns the presentation the user currently has open.
-
.getPageHeight()
Returns the height of a slide in points.
More Apps Script
Better Sheets tutorials
No tagged tutorials yet. Fetch Apps Script from the harvest table and this page fills automatically.
Related blog posts
Written guides about SlidesApp.appendSlide().