简体   繁体   English

如何在Chrome网上应用店上发布Google Spreadsheet扩展程序?

[英]How to publish Google Spreadsheet extension on the Chrome web store?

I'm interested in writing an extension for Google Spreadsheet that makes use of the spreadsheet's UI extending capabilities. 我对编写Google Spreadsheet扩展程序感兴趣,该扩展程序利用了电子表格的UI扩展功能。 If I'm not mistaken the only possible way to create such a program is to make it a container-bound script. 如果我没记错的话,创建这样一个程序的唯一可能的方法就是将其设为容器绑定脚本。 Meaning it can only be published to the Spreadsheet script gallery. 这意味着它只能发布到电子表格脚本库。 This is unfortunate since I would like to publish and maybe sell this script and, make it widely available to Google Spreadsheet users. 这很不幸,因为我想发布并出售此脚本,并使其广泛提供给Google Spreadsheet用户。 I was thinking that the Chrome Web Store would be ideal for these kinds of things, but it's not possible to publish container bound scripts on it (only web apps can be published on it). 我当时以为Chrome网上应用店非常适合这类事情,但是不可能在其上发布容器绑定的脚本(只能在上面发布网络应用程序)。

So, I'm looking for a solution to this problem. 因此,我正在寻找解决此问题的方法。 I've thought of a solution myself that might work: Create a web app and publish it on the Chrome store. 我自己想到了一个可行的解决方案:创建一个Web应用程序并将其发布在Chrome商店中。 The web app is actually a library that a container-bound script depends upon. 该Web应用程序实际上是一个容器绑定脚本所依赖的库。 Is this even possible? 这有可能吗? The container-bound script is stored in the gallery. 容器绑定脚本存储在库中。 Can you disallow users from using your script in the gallery if the haven't installed the web app? 如果尚未安装Web应用程序,是否可以禁止用户在库中使用您的脚本?

To summarize, I have a few questions: 总而言之,我有几个问题:

  • Can container bound scripts use Chrome Web Store web apps as libraries and also require a user to have installed/bought the app? 容器绑定脚本可以将Chrome Web Store Web应用程序用作库,并且还需要用户安装/购买该应用程序吗?
  • What are the other ways for creating and publishing Google Spreadsheet extensions? 创建和发布Google Spreadsheet扩展的其他方法有哪些?

Add-ons have been introduced to allow you to extend Google Docs and Google Sheets. 引入了附加组件,使您可以扩展Google文档和Google表格。 These can be published on the Chrome Store. 这些可以在Chrome商店中发布。

see this quick start write up https://developers.google.com/apps-script/quickstart/docs 请参阅此快速入门,写出https://developers.google.com/apps-script/quickstart/docs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM