google-apps-script - 工作表和日历之间的 Apps 脚本问题
问题描述
我正在尝试从一列日期和一列数据中创建事件。
我正在挂断此错误消息:
找不到方法 createAllDayEventSeries(string,string,string)。(第 14 行,文件“代码”)
我的代码附在屏幕截图中,并且在大多数情况下,我都遵循了 Gsuite 在线教程,尽管我使用了全天事件代码,因为我的工作表中没有时间。
关于我哪里出错的任何线索?
解决方案
参数
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
但是您的脚本将所有参数作为字符串传递
有关的
推荐阅读
- mysql - Angular 或 Node.js 在节点重新启动时将重复项插入 Mysql
- ruby - savon gem 和特殊字符的问题
- pandas - 组内的 Python Pandas 自下而上计算
- c++ - 带有 boost::posix_time 的值为 0 的日期时间(如 MySQL 中)
- android - 使用 Flutter 和 FCM 终止应用程序时,Android 设备未收到通知消息
- javascript - Javascript 不会淡化文本并且在运行时不会抛出错误
- javascript - 更改 Attr 外部脚本
- flutter - 如果不创建则 Flutter Firestore 更新(如果存在)
- sql - VB.Net DataGridView ForEach 问题
- python - 遍历 for 循环内的字典