日历事件源标题和 URL

Calendar Event source title and URL

从第 3 方服务(例如 Podio)同步的 Google 日历事件通常在其描述中包含一个 plain-text link 到它自己以及一个 source 字段使用 hyperlink(见屏幕截图)。

我似乎无法弄清楚如何在使用 Google Apps 脚本创建新事件时包含此 source 字段。

在 Google 日历 API 中,可能是:Google-calendar api, Source.link is not viewable on guest's calendar. How about in Google Apps Script: https://developers.google.com/apps-script/reference/calendar/calendar#createEvent(String,Date,Date,Object), https://developers.google.com/apps-script/reference/calendar/calendar-event?

您(目前)无法使用 CalendarApp 服务添加源 link,但是如果您使用必须专门启用的高级日历服务创建事件,则可以添加源 link在您的 Apps 脚本和 Google 开发者控制台上。

参见:

https://developers.google.com/apps-script/guides/services/advanced#enabling_advanced_services

https://developers.google.com/apps-script/advanced/calendar

https://developers.google.com/google-apps/calendar/v3/reference/events/insert#request-body