Errata

Google Apps Script

Errata for Google Apps Script

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
PDF
Page 11
Code Example under the title "The Ui App Service"

The example on page 11 for the function hellowWorldUiApp()
has a small error. The <Your Title> must be wrapped in single quotes to prevent an XML error.

function helloWorldUiApp() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
//var app = UiApp.createApplication().setTitle(<Your Title>); //La syntaxe XML est incorrecte. (ligne 7, fichier "Code")
var app = UiApp.createApplication().setTitle('<Your Title>'); //Corrected syntax
app.add(app.createLabel('Hello World'));
//TODO add your code here
ss.show(app);
}

Note from the Author or Editor:
The <Your Title> should show as user replaceable text

Jason DINKEL  Apr 03, 2014 
PDF
Page 11
Same

In fact, the <> are not needed. Looking at page 13, if we want the code to match the image, we have to write the code like this:

function helloWorldUiApp() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var app = UiApp.createApplication().setTitle('_++Your Title++_');
app.add(app.createLabel('Hello World'));
//TODO add your code here
ss.show(app);
}

Note from the Author or Editor:
_++Your Title++_ is not being converted by the Style template to user replaceable text.

Jason DINKEL  Apr 03, 2014 
PDF
Page 20
Paragraph after image

"you might feel tht you have missed..."
typo for the word: that

2nd typo: using "Web server" and "web server" in the same paragraph
further down "...or figure out how to FTP to a web server somewhere..."

then further down "...purchase and install a Web server..."

I would probably never capitalize the word web.

Jason DINKEL  Apr 04, 2014