I am currently reading a book: "Google Script: Enterprise application essentials"
In the first chapter there is an exercise that adds a Google Apps Script Gadget to a page of a Google Site. I followed the guidelines but when I load that page the widget wants Authorisation before it will work.
I don't want that to happen. Is it normal? Can it be fixed? Why is it shown?
The gadget itself consists of a basic GUI with just a label on in and in the code:
function doGet(e) {
var appl = UiApp.createApplication();
appl.add(appl.loadComponent("MyGui")); // name of the saved Gui
return appl;
}
Thanks!