简体   繁体   English

是否可以为任何有链接的人都可以安装的 Google 表格发布私有 Apps 脚本插件?

[英]Is it possible to publish a private Apps Script add-on for Google Sheets that anyone with a link can install?

I have been tasked with developing a Google Sheets add-on that local middle/high school teachers can use with their students.我的任务是开发一个本地初中/高中教师可以与学生一起使用的 Google 表格插件。 I have a working prototype, but currently we can only distribute it by having teachers copy the container Sheet to their drive, then having students copy it from their teachers.我有一个工作原型,但目前我们只能通过让老师将容器表复制到他们的驱动器来分发它,然后让学生从他们的老师那里复制它。 Obviously this is messy, so I've been looking into publishing the add-on.显然这很混乱,所以我一直在考虑发布附加组件。

Is there a way to easily share a privately published add-on without manually approving each user or adding all those users to a domain?有没有一种方法可以轻松共享私人发布的附加组件,而无需手动批准每个用户或将所有这些用户添加到域中? I need to be able to maintain control over the script so that bug reports/feature requests can be addressed, and the script needs to be able to be executed by an arbitrary number of students at any given time.我需要能够保持对脚本的控制,以便可以解决错误报告/功能请求,并且脚本需要能够在任何给定时间由任意数量的学生执行。

In order to publish an add-on you would need to create a GCP project to publish it.为了发布插件,您需要创建一个 GCP 项目来发布它。

When doing so, you have the option to make it private if you have a Google Workspace account as presented below:这样做时,如果您有如下所示的 Google Workspace 帐户,则可以选择将其设为私有:

在此处输入图像描述

As suggested by the steps provided over this documentation .正如本文档中提供的步骤所建议的那样。

As an alternative for your case.作为您的情况的替代方案。 The App Script projects are basically Drive files. App Script 项目基本上是 Drive 文件。 You should be able to apply the same permissions and rules to it, it could help you with the students and the school.您应该能够对其应用相同的权限和规则,它可以帮助您与学生和学校。 I notice some add-ons only share the link and ask you to make a copy or just add it as an add-on with the feature for their accounts.我注意到一些附加组件仅共享链接并要求您制作副本或仅将其添加为具有其帐户功能的附加组件。

If you are looking to do the same, you should be able to create a Google Group and use the option to share the file only with people that has been specific shared with.如果您希望这样做,您应该能够创建一个 Google 组并使用选项仅与特定共享的人共享文件。

  1. Go to https://groups.google.com/转到https://groups.google.com/
  2. Create a group for students and teachers (separate them if you want)为学生和教师创建一个组(如果需要,将它们分开)
  3. This would create a special group email address that you can add to Drive这将创建一个特殊的群组电子邮件地址,您可以将其添加到云端硬盘

Example of the group email and the Drive interface:群组电子邮件和云端硬盘界面示例:

在此处输入图像描述

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

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