Reputation: 51
I have a standalone Apps Script (https://developers.google.com/apps-script/guides/standalone) that I need to transfer to someone else to manage. I don't see an option to share the script and to transfer ownership. Does anyone know how I should go about doing that?
Upvotes: 1
Views: 126
Reputation: 1416
You can share the script in the top-right corner using the Share button. After you've shared it you (as the owner) can make someone else owner.
Upvotes: 1
Reputation: 912
You could make a copy of the standalone script on your own drive and then change the ownership
function copyScript(){
var scriptCopy = DriveApp.getFileById("yourScriptID").makeCopy().setName('ScriptCopyName');
DriveApp.getFileById(scriptCopy.getId()).setOwner('emailAddress')
}
Upvotes: 0