简体   繁体   English

如何共享包含Google App脚本的Google电子表格?

[英]How to share a google spreadsheet that contains google app script?

I followed the tutorial at google developer web site to create a spreadsheet. 我遵循 Google Developer网站上的教程来创建电子表格。 And as expected when I reloaded the spreadsheet, a menu called "Bracket Maker" is now available on the menu bar. 正如我重新加载电子表格时所预期的那样,菜单栏上现在提供了一个名为“ Bracket Maker”的菜单。

But if I share this document to my friends, they can open this document, see all the content in the document. 但是,如果我与朋友共享此文档,他们可以打开此文档,请参阅文档中的所有内容。 But they just don't have the "Bracket Maker" menu bar. 但是他们只是没有“ Bracket Maker”菜单栏。 How should I do to make sure they also get the script capability? 我应该如何确保他们也获得脚本功能?

The menu is created when the onOpen is triggered. 触发onOpen时创建菜单。 How are you creating the menu - using the onOpen function or an installed trigger ? 如何创建菜单-使用onOpen函数或已安装的触发器?

If you created it using an installable trigger, then your friends have to set up the trigger manually. 如果使用可安装的触发器创建了触发器,那么您的朋友必须手动设置触发器。

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

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