Google Apps Script Archives - Jeff Everhart

Find & Replace Text in Google Doc with Clickable Link

This post should be a short one, and builds on a few previous posts that involve creating custom Google Docs. In those articles, I demonstrate how to use various methods of DocumentApp to create custom Google Docs using Google Apps Script. In most of those examples, I use a method called replaceText that exists on […]

Read More

Get All Users in Canvas Account via API with Google Apps Script

VCU is in the beginning stages of an LMS transition, and the instructional designers in our department are doing pretty much all of their professional development courses in Canvas now. Since everything still isn’t integrated with Banner, there is still some backend admin work to add users to our professional development account. Today I was […]

Read More

Auto Fill a Google Doc Template from Google Sheet Data

In this post, I’ll walk you through how to auto fill Google Doc templates with data pulled from a Google Spreadsheet using Google Apps Script. This tutorial is a follow-up of sort to Auto Fill a Google Doc from Google Form Submissions, so if what you want to do involves a form, that would be […]

Read More

Open Letter Maker with Google Forms, Docs, and Apps Script

I’ve had a few people ask me about variations to my write-up of how to auto-populate Google Docs from Google Forms submissions. One of the most recurring involves appending all responses to a single doc instead of creating a new one from a template. Does anyone have a better method than manually updating a Google […]

Read More

Delegating Client-Side Requests with google.script.run in Google Apps Script

This should be a quick post, but I’m doing more of my Google Apps Script development in clasp using TypeScript now, which exposes some interesting ways of doing things that I’ll continue to document as time allows. As much as I appreciate the built-in script editor, the cognitive overload of even moderate software with a […]

Read More

ES6 Features for Google Apps Script: Arrow Functions

In the second part of this series, we’re going to take a look at arrow functions, how they are used, and how they can be helpful in the context of Google Apps Script. In part one, we looked at ES6 template literals and how they can be used to create elegant and dynamic strings of […]

Read More

ES 6 Features for Google Apps Script: Template Literals

Google recently announced that it is bringing the V8 JavaScript runtime to the Google Apps Script environment, and the community, myself included, reacted with much enthusiasm. This is amazing! https://t.co/Qmbb0MIugx — Jeff Everhart (@J_Everhart383) February 6, 2020 There are a lot of things to be excited about with this new change, but I also realized […]

Read More

Debugging in Google Apps Script

Most of the comments I get on this site have to do with someone trying something I’ve written about that isn’t working for them. In most cases, error messages can be your friends since they can point to the particular place your script failed and give you additional insight into why it failed. This post […]

Read More

Retrieve Rows from Google Spreadsheet with Google Apps Script

Lots of the Google Apps Script projects that people are working on start with a Google Spreadsheet as a base. Sometimes a Google Form writes data to a spreadsheet that triggers other events, or you have a Sheet you’ve imported that you want to use to coordinate a larger workflow. This post will describe different […]

Read More

Translate Text Selection in a Google Doc using Google Apps Script

In this quick tutorial, we’re going to build a simple little menu add-on for Google Docs that lets you translate text into another language. Some of this functionality may be baked into Google Docs at this point, but this should be a good tutorial that wraps together a few different services and methods of augmenting […]

Read More