محدودیت ها
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
چند محدودیت در مورد کارهایی که افزونه ها می توانند انجام دهند وجود دارد. با اجتناب از این مشکلات، تجربه کلی کاربران خود را بهبود بخشید.
محدودیت های عمومی
محدودیت های زیر برای همه افزونه ها اعمال می شود. کارهای زیر را انجام ندهید:
ویژگیها را در Google Workspace تغییر دهید
چارچوب افزودنی برای بهبود برنامههای Google Workspace طراحی شده است، نه برای افزودن محدودیت. در نتیجه، نمیتوانید ویژگیهای موجود را تغییر دهید یا مدل اشتراکگذاری سند Google Workspace را قفل کنید.
شارژ کاربران برای نصب
ما راهی برای دریافت هزینه از کاربران برای نصب افزونه ها ارائه نمی دهیم و افزونه ها نمی توانند شامل تبلیغات شوند . با این حال، میتوانید سیستم پرداخت خود را راهاندازی کنید یا با پایگاه داده صورتحساب موجود تماس بگیرید. برافزای شما میتواند به سرویسهای غیر Google که به کاربران صورتحساب میدهند متصل شود.
بسیاری از رویدادها را شناسایی کنید
به جز برخی محرکها ، افزونهها نمیتوانند تشخیص دهند که کاربر خارج از خود افزونه چه میکند. به عنوان مثال، نمی توانید تشخیص دهید که کاربر روی نوار ابزار برنامه میزبان کلیک می کند. امکان نظرسنجی برای تغییرات در محتویات فایل از کد سمت سرویس گیرنده نوار کناری وجود دارد، اگرچه همیشه کمی تاخیر خواهید داشت.
افزونه های ویرایشگر
محدودیتهای زیر فقط برای افزونههای ویرایشگر اعمال میشود. کارهای زیر را انجام ندهید:
UI ها را با سرویس کارت تعریف کنید
افزونههای ویرایشگر در حال حاضر فقط میتوانند رابط کاربری را با استفاده از HTML و CSS تعریف کنند، نه از سرویس کارت .
از افزونه های ویرایشگر در موبایل استفاده کنید
افزونههای ویرایشگر فقط در کلاینتهای دسکتاپ در دسترس هستند، نه برنامههای تلفن همراه برای ویرایشگرها.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-30 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eGoogle Workspace add-ons enhance existing features but cannot modify or restrict core functionalities or the sharing model.\u003c/p\u003e\n"],["\u003cp\u003eAdd-ons cannot directly charge users for installation or contain ads, though external payment integrations are permitted.\u003c/p\u003e\n"],["\u003cp\u003eWhile add-ons can respond to specific triggers, they generally cannot detect user actions outside the add-on's scope.\u003c/p\u003e\n"],["\u003cp\u003eEditor add-ons are limited to desktop environments and utilize HTML/CSS for UI design instead of the Card service.\u003c/p\u003e\n"]]],["Add-ons must not alter existing Google Workspace features or sharing models. They cannot charge users for installation or display ads. Add-ons have limited ability to detect user actions outside of the add-on, except for specific triggers, although content changes can be polled with a delay. Editor add-ons are restricted to HTML/CSS UIs (no Card service) and are only available on desktop, not mobile apps.\n"],null,["# Restrictions\n\nThere are a few restrictions on what add-ons can do. Improve your users'\noverall experience by avoiding these pitfalls.\n\nGeneral restrictions\n--------------------\n\nThe following restrictions apply to all add-ons. Don't do the following:\n\n### Change features in Google Workspace\n\nThe add-ons framework is designed to enhance\nGoogle Workspace applications---not to\nadd limits. Consequently, you can't alter existing features or lock down the\nGoogle Workspace document sharing model.\n\n### Charge users to install\n\nWe don't provide a way to charge users for installing add-ons, and add-ons\n[can't include ads](/apps-script/terms). However, you can roll your own payment\nsystem or call into an existing billing database. Your add-on can connect to\nnon-Google services that bill users.\n\n### Detect many events\n\nExcept for [certain triggers](/workspace/add-ons/concepts/triggers), add-ons can't\ntell what a user does outside the add-on itself. For example, you can't detect\nwhen the user clicks on the host application toolbar. It is possible to poll for\nchanges in a file's contents from a sidebar's client-side code, although\nyou'll always have a slight delay.\n\nEditor add-ons\n--------------\n\nThe following restrictions only apply to Editor add-ons. Don't do the following:\n\n### Define UIs with the Card service\n\nEditor add-ons can currently only define a UI using HTML and CSS, not the\n[Card service](/apps-script/reference/card-service/card-service).\n\n### Use Editor add-ons on mobile\n\nEditor add-ons are only available on desktop clients, not the mobile apps\nfor the editors."]]