Google spreadsheet on team drive not running script

有些话、适合烂在心里 提交于 2019-12-24 13:38:20

问题


I have a google form on my Team Drive that when submitted pulls that data to a spreadsheet. I used a script within that spreadsheet that pulls the unique URL to that specific submitted form. My team members are able to submit the form and access the spreadsheet for editing, however the script only runs for me. All of my team members have full access to the drive. I have scoured as far as I know how to resolve this issue but have only come to potential answers. One of those answers was to publish the script as a web app or API executable. This is a little out of my scope but would love to get this working for my team as it is extremely useful. Not to mention I could relay this information to other projects if I can get it resolved. Any input would be greatly appreciated!


回答1:


If you have created a script then publishing the script is not that difficult. See the link here to see how to do it (See deploying a script as a web app: six simple steps!) Also from the documentation: When a web app in a Team Drive is deployed, choosing to "execute as you" causes the web app to execute under the authority of the user that deployed it (since there is no script owner).



来源:https://stackoverflow.com/questions/44766455/google-spreadsheet-on-team-drive-not-running-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!