如何更新Google表格加载项 [英] How do I update a Google Sheets Add-On

查看:67
本文介绍了如何更新Google表格加载项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经对(已经发布的)Google表格插件进行了更改(在脚本编辑器中).我创建了一个新版本,然后按发布>部署为加载项",显示为

I have made changes to my (already published) Google Sheets Add-On (in the Script Editor). I have created a new version and pressed "Publish > Deploy as Add-On" which says

You must configure the G Suite Marketplace SDK to publish an add-on.

当我单击链接时,会打开G Suite市场(并且我会看到当前发布的产品目录条目),但是无法指定新版本..当我单击确定"时,没有任何反应.

When I click on the link G Suite Marketplace opens (and I see the currently published products catalog entry) but no way of specifying a new version. . When I click OK nothing happens.

推荐答案

整个Google表格加载项部署工作流程都是一个热点.不要使用 Publish -> Deploy as Sheets部署附件... 来更新已部署的AppScript.它不起作用.

The entire Google Sheets add-on deployment workflow is one hot mess. Do not use Publish -> Deploy as Sheets add-on... to update an already-deployed AppScript. It does not work.

相反,首先创建脚本的版本 File -> Manage version .然后转到Google Cloud Platform控制台( console.cloud.google.com )中的 G Suite Marketplace SDK 页面.在 Configuration 标签下,向下滚动以找到 Editor附加扩展名,其中应已检查 Sheets附加扩展名(如果您遵循更早的发布说明,并且已经成功发布了该加载项).

Instead, first create a version of the script File -> Manage version. Then go to the G Suite Marketplace SDK page in the Google Cloud Platform console (console.cloud.google.com). Under the Configuration tab, scroll down to find Editor Add-on extensions where Sheets add-on extension should already be checked (if you followed the publication directions earlier and have already successfully published the add-on).

您将在其中看到脚本版本号的字段.将其增加到最新版本,然后保存更改.据我所知,这立即生效.

There you will see a field for the script version number. Increment it to the latest version, and Save changes. As far as I can tell this takes effect immediately.

这篇关于如何更新Google表格加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆