如何让其他人访问使用Google Apps脚本制作的网络应用程序? [英] How to allow others to access a web app made from a Google Apps Script?
问题描述
我从Google Apps脚本部署了一个网络应用程序,但其他人似乎无法运行它。
(登录Google时运行正常)
我不断收到请求分享电子邮件,甚至尽管我将源脚本设置为在Web上公开。
将应用程序执行为:设置为访问网络应用程序的用户。
>该应用的链接位于 http://truevis.com/rations 对其他人可能非常有用,但现在我认为其他人都无法运行它。 此处显示的链接是开发链接,即描述为代码的最后保存版本的链接,此链接不是可分享...你应该给予人的是这一个: https://script.google.com/macros/s/AKfycbz1SKJi5HW1r2ZHiYpjedjul-IE4vcB266kdDzDrVCE/exec 它显示在这个弹出窗口中 b除此之外,脚本文件的共享属性是不相关的,你可以保持它私人....只有在这个窗口中的设置是重要的,以确定谁有权访问您的应用程序,以及如何(意味着作为您或用户访问您应该记住,用户将会在同一个弹出窗口中看到您选择的版本,无论您可以保存的更改是什么在您的.dev版本中使用...所以想想发布正确的版本。 I deployed a web app from a Google Apps Script, but others don't seem to be able to run it.
(It runs fine for me when logged-in to Google) I keep getting "Request to share" email, even though I set the source script to be "Public on the Web". "Execute the app as:" is set to "User accessing the web app". A link to the app is at http://truevis.com/rations It could be very useful to others, but right now I think that no one else can run it. The link you show here is the development link , the one that is described as "the last saved version of your code", this link is not shareable ... the one you should give to people is this one : https://script.google.com/macros/s/AKfycbz1SKJi5HW1r2ZHiYpjedjul-IE4vcB266kdDzDrVCE/exec it is shown in this popup window beside that, the sharing properties of the script file is not relevant, you could keep it private.... only the settings in this window are important to determine who has access to your app and how (meaning run as you or as user accessing the app). You should also keep in mind that users will see the version you have chosen in this same popup window, no matter the changes you could have saved and are using in your .dev version... so think about publishing the right version. 这篇关于如何让其他人访问使用Google Apps脚本制作的网络应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!