【问题标题】:Google Calendar Script to create event with GuestsCanModify set to true?谷歌日历脚本来创建将 GuestCanModify 设置为 true 的事件?
【发布时间】:2013-09-20 13:40:54
【问题描述】:

我已经设法得到一个脚本来从谷歌电子表格中获取值并创建日历事件。我可以添加客人,但我不知道如何让客人可以修改状态。我可以设置高级参数,如位置和客人。如何在创建事件时对其进行设置?

谢谢

【问题讨论】:

    标签: google-apps-script google-calendar-api


    【解决方案1】:

    您要查找的方法是CalendarEvent.setGuestsCanModify()

      ....
      var event = cal.createEvent(title, start, end, {
          description : desc,
          location : loc
      });
    
      event.setGuestsCanModify(true);
      ....
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-10
      • 1970-01-01
      • 1970-01-01
      • 2012-08-08
      • 1970-01-01
      • 2018-04-30
      相关资源
      最近更新 更多