Google Script Create Google Docs on the fly from templates
4.5 (77 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
8,436 students enrolled

Google Script Create Google Docs on the fly from templates

Google Scripts is a powerful resource with so much to offer. This course covers Google Script, drive, sheets, docs
4.5 (77 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
8,436 students enrolled
Created by Laurence Svekis
Last updated 11/2019
English [Auto]
Current price: $129.99 Original price: $199.99 Discount: 35% off
7 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2.5 hours on-demand video
  • 12 articles
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Create Google Docs with script
  • Use Google sheets to store data and access data
  • Send and retrieve data from Google Sheets
Course content
Expand all 32 lectures 02:27:02
+ Introduction to using Google Script
31 lectures 02:25:49
Setup Files and Headings
Create menu items to launch functions
Source Code for GS
Create HTML Popup Dialog Window
Source Code to Get HTML file contents
Build HTML frontend
List gDrive files
Source Code
List Google Drive Contents into Google Spreadsheet
Source Code
Read Document Content use body content in Google Script
Use Google Script Get Spreadsheet data and return as an array
Source Code
create dynamic select list
Use Data to generate fields for input to template
picker.html source code
Get form input values
Pass Data to Google Script from html
Source Code HTML
Source Google Script
Planning to create doc into folder
Copy document into drive folder
Generate Doc from a template doc
HTML script tweaks and styling
Source Code Picker.html
Google Script Tweak
Google Script Source Code
App testing and conclusion
Course Resources
  • JavaScript
  • jQuery
  • Google Account

Google Apps Script sheet data to doc using templates course!

Learn how to use the power of Google App Script to power up your Google sheets and Google docs.

This course will walk you through how to setup a Google Doc generator using a Google Doc as a template and storing the data in Google Sheets. Source code is included so you can get started quickly includes all methods and classes use for this type of project which can also be used for similar custom applications.  Google spreadsheet is used as a data source the scope of this course is how to use Google Script to create Google Docs on the fly.  In the course Google Sheets is used as a data source for the listing of created documents and templates storing the doc id and other important data so that it can then be referenced to link out to the Google Doc that was created.

Once you start using Google Script you will be amazed at how easy it is and how much power you get with just a few simple built in classes.  Google script is JavaScript with a bunch of Google predefined classes, methods.    It gives you the ability to connect apps together.

Within this project we show you how to access the Google Script editor, all you need is a Google account and you are ready to create apps!   Using the script editor you can access your google spread sheet data and use it like a database.  Create a template or as many as you like, the app can pull them in dynamically by searching your google drive and pulling them into the script.  Use Google script then to read the file contents and select all the fields you want to have inputs for within your template.   All this data goes into the Google Spreadsheet which then gets access by the part of the app that creates documents from the template.  Open the dialog window select the template, all the fields for the template get populated into the dialog form which allows the user to easily enter values to populate the new template with.  Select create and the script will make a new document in your Gdrive folder using the template and updating the fields with new data.  All this in a few lines of code built using Google Script.

This course is designed to illustrate what can be done with Google Script and how it can be used to create applications that do a lot.

Please note that the scope of this course is Google Script, there is some front end coding like HTML,CSS,JavaScript and jQuery which will not be covered in detail!  Google Script is pretty much JavaScript so you need to be familiar with JavaScript in order to follow the course content.  Classes and methods that are native to Google Script will be introduced to help help the application.  Do to the large number of classes and methods only relevant ones to complete the application will be covered in this course.  By the end of the course you will have a clear path on how to develop apps using Google Script to enhance what you can do within your Google Suite of Apps.

This course is taught by an instructor with over 18 years of web development experience having worked with Google Script for over 2 years.   

I'm here to help you learn how to build applications and ready to answer any questions you may have.  Join now and see what Google Script can do and how you too can use Google Script to produce some amazing applications.

Google Apps Script is a scripting language based on JavaScript that lets you do new and cool things with G Suite products like Docs, Sheets, and Drive. There's nothing to install — we give you a code editor right in your browser, and your scripts run on Google's servers

GSuite Services used within this course

DocumentApp : The document service creates and opens Documents that can be edited.  Google Docs
DriveApp : Allows scripts to create, find, and modify files and folders in Google Drive.
SpreadsheetApp : This class allows users to open Google Sheets files and to create new ones. This class is the parent class for the Spreadsheet service. 

Who this course is for:
  • JavaScript application developers
  • Anyone who wants to do more with Google Apps
  • Anyone who wants to learn more about connecting Google Apps together
  • Anyone who wants to make use of full suite of Google script apps