使用 Google Workspace 插件扩展 Google 日历的功能
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Google 日历提供强大的工具,可让用户创建、管理和分享活动及日历详细信息。不过,有效管理复杂的日历可能需要花费大量时间,因为用户需要查看、创建、更新和分享各个活动,尤其是在用户必须从其他应用导入或导出活动信息的情况下。
您可以使用 Google Workspace 加购项扩展 Google 日历,从而为用户节省时间和精力。构建 Google Workspace 加载项时,您可以定义直接插入 Google 日历的自定义界面,正好满足用户的需求。这些接口有助于自动执行日历任务、向用户显示更多信息,或让用户与第三方系统互动,而无需切换到新的浏览器标签页。
Google Workspace 插件可以在 Google 日历中定义以下类型的扩展服务:
- 非情境式首页
- 当用户点击日历视图中的活动时显示的上下文界面。
- 当用户打开活动以查看或修改活动时显示的上下文界面。
- 适用于 Google 日历活动的自定义会议解决方案(有关详情,请参阅第三方会议概览)。
了解您可以制作的内容
Google Workspace 插件是使用 Apps 脚本构建的,其界面是使用 Apps 脚本的 Card 服务定义的。如需了解概览,请参阅构建 Google Workspace 加购项。Google Workspace 加载项的行为通过清单进行配置,其中包括特定于日历的部分。
在配置 Google Workspace 插件以扩展 Google 日历时,您必须确定要为插件创建哪些界面以及插件可以执行哪些操作。如需了解详情,请参阅以下指南:
如果您负责维护会议系统,请参阅第三方会议概览,详细了解如何在 Google 日历中集成会议类型。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[[["\u003cp\u003eGoogle Workspace add-ons extend Google Calendar to automate tasks and streamline workflows, saving users time and effort.\u003c/p\u003e\n"],["\u003cp\u003eAdd-ons provide custom interfaces within Google Calendar for seamless user interaction without switching applications.\u003c/p\u003e\n"],["\u003cp\u003eThese extensions offer non-contextual homepages, contextual interfaces triggered by event interactions, and custom conferencing solutions.\u003c/p\u003e\n"],["\u003cp\u003eAdd-ons are built using Apps Script and configured with a manifest, allowing for flexible integration and functionality.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can build various interfaces and actions within their add-ons, enhancing the user experience within Google Calendar.\u003c/p\u003e\n"]]],["Google Workspace add-ons extend Google Calendar by inserting custom interfaces directly into the platform. These add-ons automate tasks, display extra information, and allow users to interact with third-party systems without switching tabs. Add-ons offer non-contextual homepages and contextual interfaces for viewing/editing events. Users can also utilize custom conferencing solutions. Add-ons are built using Apps Script and Card service, and are configured via a manifest. Developers can create specific interfaces and define actions, and can integrate third-party conferencing systems.\n"],null,["# Extending Calendar with Google Workspace add-ons\n\nGoogle Calendar provides powerful tools that enable users to create, manage,\nand share event and calendar details. However, effectively managing complex\ncalendars can take a lot of time as the user views, creates, updates, and\nshares individual events, particularly if the user must import or export\nevent information from other applications.\n\nYou can save time and effort for your users by extending Google Calendar with\nGoogle Workspace add-ons. When you build a\nGoogle Workspace add-on, you can define custom\ninterfaces that are inserted directly into Google Calendar, exactly where the\nuser needs them. These interfaces help automate calendar tasks, present\nadditional information to the user, or let the user interact with a third-party\nsystem without having to switch to a new browser tab.\n\nGoogle Workspace add-ons can define the following kinds\nof extensions within Google Calendar:\n\n- Non-contextual [homepages](/workspace/add-ons/concepts/homepages)\n- Contextual interfaces that appear when users click on an event in the calendar view.\n- Contextual interfaces that appear when users open an event to view or edit it.\n- Custom [conferencing solutions](/workspace/add-ons/calendar/conferencing/overview#conference_solutions) for Google Calendar events (see [Third-party conferencing overview](/workspace/add-ons/calendar/conferencing/overview) for details).\n\n| **Note:** You can't yet use Calendar add-ons on mobile clients.\n\nSee what you can make\n---------------------\n\nGoogle Workspace add-ons are built using\n[Apps Script](/apps-script), and their interfaces defined using the Apps Script\n[Card service](/apps-script/reference/card-service). See\n[Building Google Workspace add-ons](/workspace/add-ons/how-tos/building-workspace-addons)\nfor an overview. Google Workspace add-on behavior is\nconfigured using a\n[manifest](/workspace/add-ons/concepts/workspace-manifests), which includes\nCalendar-specific sections.\n\nWhen configuring your Google Workspace add-on to\nextend Google Calendar, you must decide what interfaces to create for your\nadd-on and what actions it can take. See the following guides for more\ninformation:\n\n- [Building Google Calendar interfaces](/workspace/add-ons/calendar/building-calendar-interfaces)\n- [Calendar actions](/workspace/add-ons/calendar/calendar-actions)\n- [Manifests](/workspace/add-ons/concepts/workspace-manifests#manifest-structure)\n\nIf you maintain a conferencing system, see\n[Third-party conferencing overview](/workspace/add-ons/calendar/conferencing/overview)\nfor details on how to integrate your conference types within Google Calendar."]]