Вопрос

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

Другие советы

Follow the instructions in the documentation. You need to first save a new version in the versions dialog. Then you need to re-publish it using the new version number.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top