Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamically obtain Apps Script's scriptID #707

Closed
Brodan opened this issue Feb 13, 2017 · 1 comment
Closed

dynamically obtain Apps Script's scriptID #707

Brodan opened this issue Feb 13, 2017 · 1 comment
Assignees

Comments

@Brodan
Copy link

Brodan commented Feb 13, 2017

Is there a way to programmatically obtain an Apps Script's scriptID so that I can call it using the scripts.run method defined here without having to open the project in the script editor and select File > Project properties, as suggested here?

I'd like to be able to upload a new Apps Script using the Drive API's create method and then run the script I just uploaded, but this appears to be impossible without first manually navigating to the file to find the scriptID, which differs from the fileID.

Thanks.

@lukesneeringer
Copy link

Hi @Brodan,
Sadly, I do not know the answer to this. I would suggest trying Stack Overflow. (The issue tracker is for bug reports.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants