问题
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