Jenis add-on
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini memberikan ringkasan umum tentang dua jenis add-on yang dapat Anda buat: add-on Google Workspace dan add-on Editor. Jenis add-on ini berbeda dalam aplikasi yang diperluas, cara pembuatannya, dan batasan yang dimilikinya.
Add-on Google Workspace
Add-on Google Workspace adalah add-on generasi terbaru, dan
menyediakan banyak kemampuan, termasuk:
Buat hanya satu add-on untuk beberapa aplikasi Google Workspace: Daripada membuat add-on terpisah untuk setiap aplikasi Google Workspace, Anda dapat membuat dan mengelola satu add-on Google Workspace yang berfungsi di seluruh Google Workspace.
Add-on Google Workspace dapat memperluas aplikasi host berikut:
- Gmail
- Google Kalender
- Google Chat (Pratinjau Developer)
- Google Dokumen
- Google Drive
- Google Meet
- Google Spreadsheet
- Google Slide
Meningkatkan brand awareness Anda: Ikon add-on secara
default terlihat di panel sisi kanan aplikasi host
add-on.
Membangun pengalaman halaman beranda: Anda dapat membuat halaman beranda
individual untuk setiap aplikasi Google Workspace yang diperluas add-on Anda, atau menggunakan halaman beranda yang sama untuk beberapa aplikasi.
Mencerminkan konteks pengguna di add-on Anda: Anda
dapat mendesain add-on Google Workspace untuk menampilkan antarmuka khusus
aplikasi host add-on. Misalnya, add-on Anda dapat menampilkan info dari email atau acara kalender, atau menyarankan tindakan berdasarkan halaman aplikasi Google Workspace saat ini.
Menggunakan antarmuka standar: Buat antarmuka pengguna dari elemen widget bawaan yang disediakan oleh layanan Card
Apps Script. Anda tidak memerlukan keahlian HTML atau CSS untuk menentukan antarmuka ini.
Memperluas klien desktop dan seluler untuk Gmail: Jika add-on Google Workspace memperluas Gmail, Anda dapat menggunakannya di Gmail versi desktop dan seluler. Jika Anda membuat add-on Google Workspace yang memperluas Gmail, Anda tidak perlu mendesain versi seluler add-on yang terpisah. Antarmuka yang sama digunakan di mana saja.
Gunakan runtime pilihan Anda. Anda dapat mengembangkan add-on Google Workspace dengan infrastruktur hosting, rangkaian alat pengembangan, sistem kontrol sumber, bahasa coding, dan pustaka kode pilihan Anda.
Add-on editor
Add-on editor memperluas salah satu aplikasi Editor Google, seperti Dokumen, Spreadsheet, Slide, atau Formulir. Setiap jenis add-on Editor (misalnya, add-on Spreadsheet) dapat memiliki serangkaian kemampuan, batasan, dan pertimbangan khusus jenisnya sendiri. Saat
membuat add-on Editor, penting untuk memahami detail khusus Editor ini. Untuk mengetahui detail selengkapnya tentang add-on untuk Editor tertentu, lihat bagian yang sesuai:
Add-on editor dapat mengotomatiskan tugas editor umum seperti pembuatan, pengeditan, pemformatan, dan pemindahan data antar-aplikasi.
Antarmuka add-on editor dapat disesuaikan dengan mudah untuk
tugas yang sedang dikerjakan.
Add-on editor ideal untuk mengotomatiskan tugas dalam Google Dokumen, Spreadsheet, Slide, atau Formulir untuk penggunaan pribadi atau internal. Untuk add-on yang memerlukan kemampuan skala besar yang perlu menangani banyak pengguna, memerlukan latensi rendah, atau menuntut kontrol penuh atas infrastruktur Anda, pertimbangkan untuk membuat add-on Google Workspace di lingkungan runtime yang berbeda untuk kontrol yang lebih baik atas proses infrastruktur, deployment, dan rilis.
Add-on editor berperilaku berbeda dari add-on Google Workspace dalam
cara berikut:
- Add-on editor dapat membuat antarmuka yang terdiri dari item
menu, dialog, dan sidebar. Dialog dan sidebar add-on
ditentukan menggunakan HTML dan
CSS standar.
- Add-on editor memiliki aturan otorisasi khusus karena add-on tersebut membuat, mengubah, atau berinteraksi dengan file dalam Google Drive. Penting untuk memahami otorisasi add-on Editor saat mengembangkan add-on Editor.
- File yang dibuat dan diperbarui di setiap editor memiliki struktur tertentu. Misalnya, presentasi Google Slide terdiri dari halaman yang dapat berupa slide, master, atau tata letak. Anda harus memahami struktur file ini, karena add-on sering berinteraksi dengannya saat membaca atau mengedit file.
- Add-on editor hanya berfungsi di klien desktop, bukan Android
atau iOS.
- Add-on editor harus diterapkan di
Apps Script.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-08-26 UTC."],[[["\u003cp\u003eGoogle Workspace add-ons offer a unified solution, extending functionalities across multiple Google Workspace applications like Gmail, Calendar, and Docs with a single add-on.\u003c/p\u003e\n"],["\u003cp\u003eEditor add-ons focus on enhancing specific Google Editors (Docs, Sheets, Slides, Forms) with custom interfaces and automation capabilities but are limited to desktop use.\u003c/p\u003e\n"],["\u003cp\u003eWhile Workspace add-ons utilize standardized interfaces and work seamlessly across platforms, Editor add-ons require HTML/CSS knowledge and adhere to specific authorization rules.\u003c/p\u003e\n"],["\u003cp\u003eBoth add-on types provide distinct advantages; Workspace add-ons enhance cross-application workflows, while Editor add-ons offer deep, editor-specific customization and task automation.\u003c/p\u003e\n"]]],["There are two add-on types: Google Workspace and Editor add-ons. Google Workspace add-ons offer a single build for multiple apps (Gmail, Calendar, Chat, Docs, Drive, Sheets, Slides), and they feature standardized interfaces, mobile and desktop compatibility, and customizable homepages. Editor add-ons extend Docs, Sheets, Slides, and Forms, allowing for highly customizable interfaces using HTML and CSS, but require specific authorization and only function on desktop. They are built to automate common editor tasks.\n"],null,["This page provides a general overview of the two types of add-ons\nyou can build:\n*Google Workspace add-ons* and *Editor add-ons*. These\nadd-on types differ in what applications they extend,\nhow they are created, and what restrictions they have.\n\nGoogle Workspace add-ons\n\n*Google Workspace add-ons* are the latest generation of add-ons, and\nprovide many capabilities, including:\n\n- **Build just one add-on for multiple\n Google Workspace apps**: Instead of creating separate\n add-ons for\n each Google Workspace application, you can build and manage a single\n Google Workspace add-on that works across Google Workspace.\n A Google Workspace add-on can extend the following host applications:\n\n - Gmail\n - Google Calendar\n - Google Chat (Developer Preview)\n - Google Docs\n - Google Drive\n - Google Meet\n - Google Sheets\n - Google Slides\n- **Increase your brand awareness**: Add-ons icons are by\n default visible in the right-side panel of the\n add-on's host apps.\n\n- **Build homepage experiences** : You can create individual [homepages](/workspace/add-ons/concepts/homepages)\n for each Google Workspace app your add-on\n extends, or use the same homepage for multiple apps.\n\n- **Reflect the user's context in your add-on**: You\n can design your Google Workspace add-on to show interfaces specific to the\n add-on's host app. For example, your\n add-on can display info from an email or calendar\n event, or suggest an action based on the current Google Workspace app\n page.\n\n- **Use standardized interfaces** : Construct user interfaces from built-in\n widget elements provided by the Apps Script\n [`Card`](/apps-script/reference/card-service/card) service. You don't need\n any expertise with HTML or CSS to define these interfaces.\n\n- **Extend desktop and mobile clients for Gmail**: If a\n Google Workspace add-on extends Gmail, you can use it in both the\n desktop and mobile versions of Gmail. If you build a\n Google Workspace add-on that extends Gmail, you don't need to\n design a separate mobile version of the add-on. The\n same interface is used everywhere.\n\n- **Use your preferred runtime.** You can develop Google Workspace add-ons with your\n preferred hosting infrastructure, development tool chain, source control\n system, coding language, and code libraries.\n\nEditor add-ons\n\n*Editor add-ons* extend one of the Google Editor applications,\nsuch as Docs, Sheets, Slides, or\nForms. Each Editor add-on type (for\nexample, Sheets add-ons) can have its own set of\ntype-specific capabilities, restrictions, and special considerations. When\nbuilding Editor add-ons, it's important to understand these\nEditor-specific details. For more details on add-ons for specific\nEditors, see the corresponding sections:\n\n- [Google Docs](/workspace/add-ons/editors/docs)\n- [Google Forms](/workspace/add-ons/editors/forms)\n- [Google Sheets](/workspace/add-ons/editors/sheets)\n- [Google Slides](/workspace/add-ons/editors/slides)\n\nEditor add-ons can automate common editor tasks such as file\ncreation, editing, formatting, and moving data between applications.\nEditor add-on interfaces are highly-customizable for\nthe tasks at hand.\n\nEditor add-ons are ideal for automating tasks within Google\nDocs, Sheets, Slides, or\nForms for individual or internal use. For add-ons\nrequiring large-scale capabilities that need to handle many users, require low\nlatency, or demands full control over your infrastructure, consider building a\nGoogle Workspace add-ons on a [different runtime](/workspace/add-ons/guides/alternate-runtimes)\nenvironment for better control over infrastructure, deployment and release\nprocesses.\n\nEditor add-ons behave differently from Google Workspace add-ons in the\nfollowing ways:\n\n- Editor add-ons can create interfaces consisting of menu items, dialogs, and sidebars. Add-ons dialogs and sidebars are defined using standard [HTML and\n CSS](/workspace/add-ons/concepts/html-interfaces).\n- Editor add-ons have special authorization rules because they create, modify, or otherwise interact with files within Google Drive. It is important to understand the [Editor add-on\n authorization](/workspace/add-ons/concepts/editor-auth-lifecycle) while developing an Editor add-on.\n- Files created and updated in each editor have specific structures. For example, Google Slides presentations are composed of pages which can be slides, masters, or layouts. You should understand these file structures, as add-ons often interact with them when reading or editing files.\n- Editor add-ons only function in desktop clients, not Android or iOS.\n- Editor add-ons must be implemented in Apps Script."]]