我无法更新Google App脚本上的脚本 [英] I can't update script on Google App Script

查看:152
本文介绍了我无法更新Google App脚本上的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的公司使用Google App,当我更新我的脚本时,我经常遇到一些问题。



当我更新我的脚本时,我的Google网站上的网页是没有更新,很长一段时间。
我更新脚本时必须创建一个新脚本。

我可以解决这个问题吗?

问候

解决方案

有两种方法可以发布您的代码:

A)通过部署新版本,完成如下:


$ b


  1. 文件 - >管理版本

  2. 添加新版本 - >关闭对话框
  3. 发布 - >部署为Web应用程序
  4. 选择添加的版本 - >更新



  5. < B)或者始终使用最新的代码


    1. 发布 - >部署为网络应用程序
    2. 在网络应用程序URL下,点击最新的代码按钮。

    3. 通过这种方式,任何更改和保存的更改都将在刷新时自动更新


    I use Google App in my company, and I often have a prob when I update my script.

    When I Update my script , my Webpage on Google sites is not updated , and for long time. I must create a new script when I update my script.

    Can I resolve this problem ?

    regards

    解决方案

    There are two ways to publish your code:

    A) Either by deploying a new version, which is done as follows:

    1. File -> Manage Versions
    2. Add a new version -> Close dialog
    3. Publish -> Deploy as web app
    4. Select the version added -> Update

    B) Or by always using your latest code

    1. Publish -> Deploy as web app
    2. Under the web app URL, click on the latest code button.
    3. This way, any change done and saved will automatically be updated upon a refresh

    这篇关于我无法更新Google App脚本上的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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