[英]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.