Package google.apps.script.type.drive
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
DriveExtensionPoint
字段 |
runFunction |
string
必需。在扩展点激活时要执行的端点。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-22。
[null,null,["最后更新时间 (UTC):2025-04-22。"],[[["\u003cp\u003eDrive add-ons can be customized through the \u003ccode\u003eDriveAddOnManifest\u003c/code\u003e, affecting their look and execution.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDriveAddOnManifest\u003c/code\u003e allows customization of the add-on's homepage and behavior when items are selected in Drive views.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDriveExtensionPoint\u003c/code\u003e provides a structure for defining triggers that activate specific functions within the add-on.\u003c/p\u003e\n"],["\u003cp\u003eWhen a Drive extension point is triggered, the specified \u003ccode\u003erunFunction\u003c/code\u003e is executed.\u003c/p\u003e\n"]]],["The `DriveAddOnManifest` configures a Drive add-on's appearance and behavior. It allows specifying a `homepageTrigger` to override the common homepage and an `onItemsSelectedTrigger` for actions when items are selected in Drive. `DriveExtensionPoint` defines a trigger, including the required `runFunction`, which is an endpoint executed when the trigger is activated. The triggers define actions and behaviors.\n"],null,[]]