简体   繁体   English

如何创建 g-suite 插件或与他人共享我编写的 Appscripts?

[英]How can I create g-suite add-ons or share Appscripts that I've written with others?

Every two weeks my boss posts the shift schedule on google sheets app.每两周我的老板都会在谷歌表格应用程序上发布轮班时间表。 Using Appscript I built a program that scans the schedule for my name and updates my google calendars app so I can have my shifts automatically updated.使用 Appscript,我构建了一个程序,它可以扫描我的姓名并更新我的谷歌日历应用程序,以便我可以自动更新我的班次。 I copy and paste the schedule into a personal spreadsheet and then run the program.我将日程表复制并粘贴到个人电子表格中,然后运行该程序。 Is there a simple way I can share the program with my co-workers?有没有一种简单的方法可以与我的同事共享程序? I figured the easiest way to do it would be to build an add-on, that takes their personal g-suite and does the same thing, but I have no idea how to do that.我认为最简单的方法是构建一个附加组件,它采用他们的个人 g-suite 并做同样的事情,但我不知道该怎么做。

Does anyone know where I can find sources to execute this?有谁知道我在哪里可以找到执行此操作的资源?

One option here that would be a lot easier for you would be to make a template spreadsheet which has the code written in it, that your coworkers could make a copy of the spreadsheet and run the code.一个对您来说更容易的选择是制作一个模板电子表格,其中编写了代码,您的同事可以制作电子表格的副本并运行代码。 To make it more user-friendly, I would recommend using a UI menu to prompt them to enter their name, then it could scan the spreadsheet for their name, making calendar events accordingly.为了使其更加用户友好,我建议使用 UI 菜单提示他们输入他们的姓名,然后它可以扫描电子表格以查找他们的姓名,从而相应地制作日历事件。

Google has good documentation on publishing add-ons as seen here , but it would be a much more tedious and time-consuming process. 如此处所示,Google 有关于发布附加组件的良好文档,但这将是一个更加乏味和耗时的过程。

暂无
暂无

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

相关问题 如何在 G Suite 插件完全推出之前部署 Gmail 插件 - How to deploy a Gmail add-on until G Suite add-ons are fully rolled out 如何使用 G-Suite 开发人员中心创建带有“来自电子表格”事件源的独立 onEdit(e) 触发器? - How can I create a stand-alone onEdit(e) trigger with a 'from Spreadsheet' event source using G-Suite Developer Hub? 我可以在gmail插件上调用基于时间的触发器吗? - can i call time based trigger on gmail add-ons? 如何在新创建的 Google 表格中使用我的插件菜单? - How can I get my add-ons menus available in newly created Google Sheets? 当我在 G-Suite 市场上更新 GAS 插件时,它会自动更新吗? - Do GAS add-on update automatically when I update it on G-Suite marketplace? 是否可以更改文件夹的权限并使用Apps Script(G-Suite)以编程方式移动它? - Can I change permission of a folder and move it programmatically using Apps Script (G-Suite)? 如何在 Google 附加组件的 iframe 中启用功能/权限策略? - How do I enable Feature/Permissions Policy in an iframe in Google Add-ons? 如何防止在鼠标按下时更改 G-Suite 插件按钮的背景颜色 - How to prevent change background-color of button for G-Suite add-on on mousedown 用户删除 G-Suite 插件时如何删除用户财产服务 - How to delete User Property Services when User deletes G-Suite Add-on 带有附件的Google G-Suite表单上的自定义验证 - custom validation on Google G-Suite Form with an add-on
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM