Package google.apps.script.type.sheets
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
SheetsAddOnManifest
用于自定义 Google 表格插件外观和执行方式的属性。
SheetsExtensionPoint
字段 |
runFunction |
string
必需。激活此扩展点时要执行的端点。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-22。
[null,null,["最后更新时间 (UTC):2025-04-22。"],[[["\u003cp\u003eThe content focuses on customizing Google Sheets add-ons, particularly their appearance and execution using \u003ccode\u003eSheetsAddOnManifest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSheetsAddOnManifest\u003c/code\u003e properties include homepage configuration, file scope authorization triggers, and link preview extension points.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSheetsExtensionPoint\u003c/code\u003e provides a common structure for defining Sheets add-on triggers with a required \u003ccode\u003erunFunction\u003c/code\u003e field specifying the execution endpoint.\u003c/p\u003e\n"]]],["The `SheetsAddOnManifest` message customizes a Google Sheets add-on's behavior. It utilizes the `HomepageTrigger` to override the default homepage, the `onFileScopeGrantedTrigger` to specify an endpoint when file scope authorization is granted, and `linkPreviewTriggers` to set up link preview functionality. `SheetsExtensionPoint` defines the format for add-on triggers, with the required `runFunction` field specifying the endpoint to be executed when the extension is triggered.\n"],null,[]]