简体   繁体   English

Google Apps 编辑器插件:无法创建测试部署

[英]Google Apps Editor Add-on: Can't create test deployment

I have developed a Google Slides Add-on as an editor add-on.我开发了一个 Google Slides Add-on 作为编辑器插件。 I am attempting to get the add-on into a few hands (family/friends) for testing.我正试图将附加组件交到几个人(家人/朋友)手中进行测试。

  • ✅ I can execute the project successfully within Google Slides ✅ 我可以在 Google Slides 中成功执行项目
  • ✅ I have created a Google Cloud Platform project and associated the apps script project with it ✅ 我创建了一个 Google Cloud Platform 项目并将应用程序脚本项目与其相关联
  • ✅ I have added my handful of users as test users within the GCP project. ✅ 我已将少数用户添加为 GCP 项目中的测试用户。

I am following these instructions to create a test deployment.我正在按照这些说明创建测试部署。

  • I open the Slides file that contains my add-on script我打开包含我的附加脚本的幻灯片文件
  • I go to the project settings我go到项目设置
  • I click the blue Deploy button and then click Test deployments我单击蓝色Deploy按钮,然后单击Test deployments
  • I choose the drop-down to select a deployment type我下拉选择select一个部署类型

The instructions here say that I should select Editor Add-on as the type.这里的说明说我应该 select Editor Add-on作为类型。 However, it is not available.但是,它不可用。 Google Workspace Add-on is available, but when selecting it I see the message To test deployment as Add-on, update the manifest file with Add-on details and I am unable to create a deployment (presumably because the manifest is different for Workspace and Editor add-ons). Google Workspace Add-on可用,但在选择它时我看到消息To test deployment as Add-on, update the manifest file with Add-on details并且我无法创建部署(可能是因为 Workspace 的清单不同和编辑器插件)。

My current appsscript.json manifest:我当前的appsscript.json清单:

{
  "timeZone": "America/New_York",
  "dependencies": {
    "enabledAdvancedServices": [
      {
        "userSymbol": "Slides",
        "version": "v1",
        "serviceId": "slides"
      }
    ]
  },
  "exceptionLogging": "STACKDRIVER",
  "runtimeVersion": "V8",
  "oauthScopes": [
    "https://www.googleapis.com/auth/userinfo.email",
    "https://www.googleapis.com/auth/script.container.ui",
    "https://www.googleapis.com/auth/presentations"
  ]
}

Question问题

  • What is the correct way to create a Test Deployment for an editor add-on for Google Workspace from Apps Script that lives inside a Google Slides file?从位于 Google 幻灯片文件中的 Apps 脚本为 Google Workspace 的编辑器插件创建测试部署的正确方法是什么?

Things I've Tried so far到目前为止我尝试过的事情

  • ❌ Modifying my manifest to be a workplace-style manifest using instructions like this . ❌使用像这样的指令将我的清单修改为工作场所风格的清单。 Upon attempting to save the manifest, I see validation errors indicating it's the wrong kind of manifest.在尝试保存清单时,我看到验证错误,表明它是错误的清单类型。

According to https://developers.google.com/apps-script/releases#april_13_2022 the Editor Add-On Testing was released 2 days ago (April 13, 2022).根据https://developers.google.com/apps-script/releases#april_13_2022 ,编辑器附加测试于 2 天前(2022 年 4 月 13 日)发布。 Usually the new features take a while to be available for everyone.通常,每个人都可以使用新功能。

According to https://workspaceupdates.googleblog.com/2022/04/apps-script-integrated-development-enviornment-improvements.html根据https://workspaceupdates.googleblog.com/2022/04/apps-script-integrated-development-enviornment-improvements.html

Rollout pace推出速度
Rapid Release and Scheduled Release domains: Gradual rollout (up to 15 days for feature visibility) starting on April 13, 2022快速发布和计划发布域:从 2022 年 4 月 13 日开始逐步推出(最多 15 天的功能可见性)

Please be patient.请耐心等待。

In the meantime you might try to use the legacy editor to create a test URL.同时,您可以尝试使用旧版编辑器创建测试 URL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何向我的 Google 表格插件添加不同的域地址? - How to add a different DOMAIN ADDRESS to my Google Sheet Add-On? eksctl create iamserviceaccount with EKS add-on support for ADOT Operator - eksctl create iamserviceaccount with EKS add-on support for ADOT Operator Google Apps Script PropertiesService - 被不可靠的执行日志记录和编辑器调试搞糊涂了 - Google Apps Script PropertiesService - Confused by unreliable Executions logging & editor debugging 无法将部署从 apiVersion extensions/v1beta1 升级到 apps/v1,它会自动使用 extensions/v1beta1 - Can't upgrade Deployment from apiVersion extensions/v1beta1 to apps/v1, it uses extensions/v1beta1 automatically 使用部署管理器在谷歌存储桶中创建一个文件夹 - Create a folder in google storage bucket with Deployment Manager 通过 Bicep 模板使用应用程序网关入口加载项创建 AKS 集群 - Create AKS Cluster with Application Gateway Ingress Add-on via Bicep Template 无法更改 Apps 脚本的 Cloud 项目 - Can't change Cloud project for Apps Script 如何将 EFS 添加到 Amazon-EKS 上的 Airflow 部署? - How can I add EFS to an Airflow deployment on Amazon-EKS? 无法将部署创建角色分配给 Kubernetes 中的 serviceAccount - Can't assign a deployment creation role to serviceAccount in Kubernetes Google Firebase 功能部署失败 - 我该怎么办? - Google Firebase Functions deployment fails - what can I do?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM