[英]Can't use some new created Google SpreadSheets Add-Ons
I have created two Google SpreadSheet Add-Ons which is adding new options in the Add-On menu. 我创建了两个Google SpreadSheet附加组件,它们在“附加组件”菜单中添加了新选项。
From the above print-screen we can see that both Add-Ons have been published, but when I want to use them from a Google SpreadSheet, I don't get the options developed by me, but only the "Help" option: 从上面的打印屏幕上,我们可以看到两个附加组件均已发布,但是当我想通过Google SpreadSheet使用它们时,我没有得到我自己开发的选项,而只有“帮助”选项:
HeloWorld Application HeloWorld应用程序
The code of this Add-On is pretty simple, as currently I am trying to understand and learn how Google Add-ons work: 该加载项的代码非常简单,因为目前我正试图了解和学习Google加载项的工作方式:
function onOpen() {
var ui = SpreadsheetApp.getUi();
ui.createAddonMenu().addItem('HelloWorld', 'HelloWorld').addToUi();
}
function HelloWorld()
{
Browser.msgBox('Hello world!!');
}
Am I doing something wrong ? 难道我做错了什么 ?
The option appeared in the Add-On menu, after a few minutes. 几分钟后,该选项出现在“加载项”菜单中。 This issue could be closed.
这个问题可以解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.