简体   繁体   English

无法使用一些新创建的Google SpreadSheets加载项

[英]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附加组件,它们在“附加组件”菜单中添加了新选项。

Developer Dashboard 开发人员仪表板

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.

相关问题 将Firefox扩展插件扩展到Google Chrome - Porting a Firefox Add-ons extension to Google Chrome "如何备份已安装的 chrome 插件并恢复" - How can I backup Installed chrome add-ons and restore 在两个Firefox附加组件之间进行通信(交叉扩展通信) - Communicating between 2 Firefox Add-Ons (Cross-Extension Communication) Firefox 附加组件:如何在 Firefox 中永久安装我自己的本地附加组件(扩展)? - Firefox add-ons: how to install my own local add-on (extension) permanently in Firefox? Firefox附加组件和/或Chrome扩展程序可用的最大本地存储大小是多少? - What is the maximum size of local storage available for Firefox add-ons and/or Chrome extensions? 无法为 Chromium 构建添加 google api 密钥 - Can't add google api key for Chromium build 如何向Google V8添加新类? - How to add a new class to Google V8? 是否可以将Google Analytics(分析)添加到没有popup.html的Chrome扩展程序中? - Can I add Google Analytics to a Chrome extension which doesn't have a popup.html? 无法阻止通过脚本在Google Chrome浏览器上添加朋友 - Can't add friends on Google Chrome through a script, says this script is blocked 无法在Google Chrome中将null用作event.dataTransfer.setDragImage的第一个参数 - Can't use null as the first argument for event.dataTransfer.setDragImage in Google Chrome
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM