Список точек расширения для создания сторонних ресурсов из приложений Google Workspace. Дополнительные сведения см. в разделе Создание сторонних ресурсов из меню @ .
ДокументыExtensionPoint
Общий формат объявления триггеров надстройки Документов.
Поля
runFunction
string
Необходимый. Конечная точка, которая будет выполняться при активации этой точки расширения.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-02-27 UTC."],[[["`DocsAddOnManifest` customizes the appearance and execution of Google Docs add-ons, including homepage configuration, file scope authorization, link previews, and third-party resource creation."],["`DocsExtensionPoint` defines a common format for Google Docs add-on triggers, specifying the endpoint function to execute when activated."],["The manifest includes triggers for various events like homepage access, file authorization, link previews, and actions to create third-party resources."],["Each extension point within the manifest specifies a `runFunction` which is the Apps Script function to be executed upon triggering the extension point."]]],["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"]]