Stay organized with collections
Save and categorize content based on your preferences.
The resource configuration that is used to define
Google Workspace add-on
content and behavior within Google Drive.
Google Workspace add-on manifests must have
all the components marked as Required if they extend Drive.
Required to provide add-on behavior triggered by user selection of
items in Drive. The contextual trigger function specification for
item selections in Google Drive.
OnItemsSelectedTrigger
A configuration for a contextual trigger that fires when a user selects
one or more files or folders in Google Drive. See
Drive contextual interface for items selected
for more information.
JSON representation
{
"runFunction": string
}
Fields
runFunction
string
The name of the function to run when files or folders are selected in
Google Drive. If specified, you must implement this function to build
and return an array of
Card
objects for display in the add-on UI.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[[["Google Workspace Add-on manifests extending Drive must include all required components."],["Drive extensions utilize a manifest configuration for defining add-on content and behavior within Google Drive."],["An `onItemsSelectedTrigger` is required in the manifest to enable add-on functionality when users select Drive items."],["The `onItemsSelectedTrigger` specifies a function that builds and returns Card objects for the add-on UI."]]],[]]