Package google.apps.script.type.drive
DriveAddOnManifest
Properties customizing the appearance and execution of a Drive add-on.
Fields |
homepageTrigger |
HomepageExtensionPoint
If present, this overrides the configuration from addOns.common.homepageTrigger .
|
onItemsSelectedTrigger |
DriveExtensionPoint
Corresponds to behavior that executes when items are selected in the relevant Drive view, such as the My Drive Doclist.
|
DriveExtensionPoint
Common format for declaring a Drive add-on's triggers.
Fields |
runFunction |
string
Required. The endpoint to execute when the extension point is activated.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[[["Drive add-ons can be customized through the `DriveAddOnManifest`, affecting their look and execution."],["`DriveAddOnManifest` allows customization of the add-on's homepage and behavior when items are selected in Drive views."],["`DriveExtensionPoint` provides a structure for defining triggers that activate specific functions within the add-on."],["When a Drive extension point is triggered, the specified `runFunction` is executed."]]],["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"]]