部署后,Google App Maker应用无法正常工作 [英] Google App Maker app not working after deploy

查看:70
本文介绍了部署后,Google App Maker应用无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Google App Maker构建了一个应用程序,该应用程序的建议框"通过Query参数链接到表格.

I have built an app with Google App Maker which has a Suggest Box linked to a table by a Query parameter.

该应用在预览"模式下可以正常运行,但是当我部署它时,建议"框没有任何提示!

The app works correctly in Preview mode, but when I deploy it, the Suggest Box doesn't suggest anything!

我之前已经部署了一次(我记得没有选择框),并且可以正常工作.

I have deployed it once before (without a select box as I recall) and it worked correctly.

我尝试重新部署到原始部署,然后部署到新部署,结果相同.

I tried redeploying to the original deployment and deploying to a new deployment, same result.

我是否缺少某些安全设置或其他内容?

Am I missing some security setting or something?

推荐答案

我正在使用驱动器表作为数据源. Google的好心人给我发送了几个链接,这些链接可以帮助我了解发生了什么事情:预览和发布您的应用程序以用户或开发人员身份运行.

I am using Drive Tables as my datasource. The kind people at Google sent me a couple of links which helped me to understand what's going on: previewing and publishing your application and running as user or developer.

问题的症结在于,当您部署应用程序并以用户身份运行(默认)时,它不会包含任何驱动器表数据.如果要将驱动器表数据添加到已部署的应用程序,则必须执行以下操作:

The crux of the issue is that when you deploy an app and run it as user (default), it doesn't take any Drive Table data with it. If you want to add Drive Table data to the deployed app, you have to do this:

  1. 打开App Maker
  2. 转到应用程序设置"
  3. 转到部署
  4. 选择您最近的部署,然后单击:导出数据"
  5. 确保从部署"下拉列表中选择预览".
  6. 点击导出
  7. 这会将所有预览数据导出到新的Google Spreadsheet.
  8. 现在在App Maker中转到您的云端硬盘型号,然后点击从表格导入数据"
  9. 您可以在此处选择将数据导入您的已部署版本.
  10. 完成导入过程后,您将所有数据保存在已部署"应用程序中.
  1. Open App Maker
  2. Go to App Settings
  3. Go to Deployments
  4. Select your most recent deployment and click: "EXPORT DATA"
  5. Make sure you select Preview from the Deployments drop down list.
  6. Click Export
  7. This will export all your Preview data to a new Google Spreadsheet.
  8. Now go to your Drive models in the App Maker and click "IMPORT DATA FROM SHEET"
  9. Here you can choose to import data to your Deployed version.
  10. After completing the import process, you will have all your data in the Deployed app.

全部由Google提供,但我没有在文档中找到它,因此它可能会对某人有所帮助.

All courtesy of Google but I didn't find it in the docs, so it might help someone.

这篇关于部署后,Google App Maker应用无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆