要创建GuestsCanModify设置为true的活动的Google日历脚本吗? [英] Google Calendar Script to create event with GuestsCanModify set to true?
本文介绍了要创建GuestsCanModify设置为true的活动的Google日历脚本吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经设法让脚本工作,以便从Google电子表格中获取值并创建日历事件。我可以添加客人,但我不知道如何允许他们修改状态。我可以设置高级参数,如位置和客人。如何在创建事件时对其进行设置?
谢谢
推荐答案
您要查找的方法是CalendarEvent.setGuestsCanModify()。
....
var event = cal.createEvent(title, start, end, {
description : desc,
location : loc
});
event.setGuestsCanModify(true);
....
这篇关于要创建GuestsCanModify设置为true的活动的Google日历脚本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文