如何在Google电子表格中分享我的应用程序脚本? [英] How can I share my app script, between google spreadsheets?
问题描述
我有一个公司的Google帐户(有一个域名),我已经创建了一个脚本来访问数据库,在一些电子表格之间共享数据,以便进行模拟
。
我创建了一些自定义函数 like = listAllCustomers()
,现在我想使用任何电子表格
。
我该怎么做?我可以通过添加添加自定义代码,但是我怎么能在我的域中共享脚本?
确定,我找到了答案。使用新的Google方法,所有脚本都作为脚本进行管理,因此要共享脚本,即使在私有域中,也需要在附加存储区上发布。我只是按照这些步骤,并在几天内解决了我的需求。
https://developers.google.com/apps-script/add -ons / publish
I have a corporate google account (with a domain) and I've created a script to access a database, to share data between some spreadsheets to make simulations
.
I created some custom functions like =listAllCustomers()
and now I want to use with any spreadsheets
.
How can I do that?
In a sheet, I can add custom code via "Add On", but how can I share scripts in my domain?
OK, I found the answer. With the new google approach, all scripts are managed as scripts, so to share a script, even in a private domain, you need to publish on the "add-on store".
I just follow these steps and in a few days I solved my need. https://developers.google.com/apps-script/add-ons/publish
这篇关于如何在Google电子表格中分享我的应用程序脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!