Un elenco di punti di estensione per la creazione di risorse di terze parti dalle applicazioni Google Workspace. Per ulteriori informazioni, vedi Creare risorse di terze parti dal menu @.
DocsExtensionPoint
Formato comune per dichiarare gli attivatori di un componente aggiuntivo di Documenti.
Campi
runFunction
string
Obbligatorio. L'endpoint da eseguire quando questo punto di estensione è attivato.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-04-22 UTC."],[[["\u003cp\u003e\u003ccode\u003eDocsAddOnManifest\u003c/code\u003e customizes the appearance and execution of Google Docs add-ons, including homepage configuration, file scope authorization, link previews, and third-party resource creation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocsExtensionPoint\u003c/code\u003e defines a common format for Google Docs add-on triggers, specifying the endpoint function to execute when activated.\u003c/p\u003e\n"],["\u003cp\u003eThe manifest includes triggers for various events like homepage access, file authorization, link previews, and actions to create third-party resources.\u003c/p\u003e\n"],["\u003cp\u003eEach extension point within the manifest specifies a \u003ccode\u003erunFunction\u003c/code\u003e which is the Apps Script function to be executed upon triggering the extension point.\u003c/p\u003e\n"]]],["The provided content details the `DocsAddOnManifest` and `DocsExtensionPoint` for customizing Google Docs add-ons. `DocsAddOnManifest` properties include: `homepageTrigger` to override common homepage settings, `onFileScopeGrantedTrigger` to execute code upon file scope authorization, `linkPreviewTriggers` for link previews, and `createActionTriggers` for creating external resources. `DocsExtensionPoint` has a `runFunction` field, specifying the endpoint triggered upon activation. These components define how add-ons appear and function within Google Docs.\n"],null,[]]