Google apps script 工作表和日历之间的应用程序脚本问题
我试图从一列日期和一列数据的工作表中创建事件 我挂断了这个错误消息: 找不到方法createAllDayEventSeries(字符串、字符串、字符串)。(第14行,文件“代码”) 我的代码附在屏幕截图中,在大多数情况下,我遵循了Gsuite在线教程,尽管我使用了全天事件代码,因为我的工作表中没有时间 有没有关于我错在哪里的线索Google apps script 工作表和日历之间的应用程序脚本问题,google-apps-script,google-sheets,google-calendar-api,Google Apps Script,Google Sheets,Google Calendar Api,我试图从一列日期和一列数据的工作表中创建事件 我挂断了这个错误消息: 找不到方法createAllDayEventSeries(字符串、字符串、字符串)。(第14行,文件“代码”) 我的代码附在屏幕截图中,在大多数情况下,我遵循了Gsuite在线教程,尽管我使用了全天事件代码,因为我的工作表中没有时间 有没有关于我错在哪里的线索 问题在于参数的类型错误。据 参数 Name Type Description title String
问题在于参数的类型错误。据 参数
Name Type Description
title String the title of the events in the series
startDate Date the date of the first event in the series (only the day is used; the time is ignored)
recurrence EventRecurrence the recurrence settings of the event series
但是脚本正在以字符串形式传递所有参数
相关的
Name Type Description
title String the title of the events in the series
startDate Date the date of the first event in the series (only the day is used; the time is ignored)
recurrence EventRecurrence the recurrence settings of the event series
但是脚本正在以字符串形式传递所有参数
相关的
欢迎光临。代码应该作为文本而不是图像添加。我猜第二个参数不是日期,第三个可能不是重复。尝试
var Date=新日期(shift[0])
并查看错误是否更改。欢迎来到StackOverFlow,请借此机会学习如何使用和。欢迎。代码应该作为文本而不是图像添加。我猜第二个参数不是日期,第三个可能不是重复。尝试var Date=新日期(shift[0])
并查看错误是否更改。欢迎来到StackOverFlow,请借此机会学习如何使用和。