Cloud scripting with Google Apps Script
Staying On Script
© Olga Yastremska, 123rf.com
Spreadsheet scripting with Google Apps Script is made possible by server-side JavaScript.
Most people are familiar with spreadsheets because most people use them for some purpose. Google, among others, brought spreadsheets to the browser with Google Docs, which took them up a notch in terms of utility, ubiquity, and sharing. With a new service called Google Apps Script (GS), you can do even more interesting and useful things with your spreadsheets.
In this article, I'll take a look at how you can take a "master" list, such as a list of company employees, and break it down into consumable sublists, such as a list of employees by office location. Next, I'll take that data and publish it to a series of web pages in Google Sites. Because access to data often is dependent on role or authority, I will also touch on permissioning. This same recipe could be useful in a thousand scenarios, such as providing football team rosters from a master list of all the players in the league.
Google Apps Script is basically JavaScript run on the server (see "Déjà Vu All Over Again"). Google provides a complete development environment in the browser and does all the code versioning and hosting for you. Google also provides a library of functionality, with APIs for other Google services, from email to documents to sites. For this tutorial, I'll assume you have a Google account and some familiarity with JavaScript. If you're a total beginner, see the GS tutorial [3].
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
United Nations Open Source Portal Goes Live
A new open source portal seeks to coordinate and scale open source efforts across the United Nations system.
-
KDE Linux Drops AUR
KDE Linux developers have dropped the Arch User Repository from the build pipeline due to security concerns; other distributions should consider doing the same.
-
California May Exempt Linux from Its Age-Verification Law
After backlash from the Linux community, California may be backing off on its promise to force all operating systems to verify age, but one platform may still have to comply.
-
Another Logic Bug Found in Linux Kernel
Qualys has discovered a vulnerability in the Linux kernel that can be used to elevate standard user privileges.
-
Ubuntu Core 26 Offers Game-Changing Enterprise Features
Ubuntu Core 26 could be a game-changer for organizations looking for increased security and reliability.
-
AI Flooding the Linux Kernel Security Mailing List
AI is giving Linus Torvalds a headache, but not in the way you might think.
-
Top Priorities for Open Source Pros Seeking a New Job
Professional fulfillment tops the list, according to LPI report.
-
Container-Based Fedora Hummingbird Designed for Agent-First Builders
Fedora Hummingbird brings the same approach to the host OS as it does to containers to level up security.
-
Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
-
Fedora 44 Now Gaming Ready
The latest version of Fedora has been released with gaming support.
