始めるのに少しだけ助けが必要です...
この 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 DRIVE Désolé, la page (ou le document) que vous souhaitez afficher n'existe pas. Vérifiez l'adresse, puis réessayez.
「GOOGLE DRIVE 申し訳ありませんが、ページ(ドキュメント)は存在しません」...
私はおそらく非常に基本的なものを見逃しています...
この他のコードをスクリプト エディターで直接実行すると、問題なく動作します...
function sendEmail()
{
MailApp.sendEmail('jp.bihin@skynet.be', 'Salut !', 'Ce message est envoyé par des scripts Google Apps. Chouette non ?');
}
ご協力いただきありがとうございます。