只需要一点帮助就可以开始...Google网站中的脚本失败
我试图在Google网站上运行此Google示例脚本,但它不起作用。
我没有按照本教程中建议的程序...... https://developers.google.com/apps-script/articles/getting-started-with-sites
function doGet(e) {
var app = UiApp.createApplication();
// hello world label
var helloworldLabel = app.createLabel("I love Apps Script!").setStyleAttribute("fontSize","16px");
// add the label to the app container
app.add(helloworldLabel);
return app;
}
在法国;;;错误信息:GOOGLE DRIVEDésolé,la page(ou le document)que vous souhaitez afficher n'existe pas。 Vérifiezl'adresse,puisréessayez。
“Google云端硬盘对不起,该页面(文档)doensn't存在” ......
我可能会错过一些很基本的...
当我直接在脚本编辑器中运行这个其他代码,它工作正常...
function sendEmail()
{
MailApp.sendEmail('[email protected]', 'Salut !', 'Ce message est envoyé par des scripts Google Apps. Chouette non ?');
}
感谢您的帮助。
你能发布确切的错误信息吗?这有助于我们找到有类似问题的人。 –
法语错误信息;;; :Désolé,la page(ou le document)que vous souhaitez afficher n'existe pas。 Vérifiezl'adresse,puisréessayez。 – user1657722