3

I have a google sheet containing script, I want to perform following operations programmatically.

  1. Make this Google spreadsheet public programmatically.
  2. I want to execute the script associated with the above spreadsheet programmatically for any user (public).

Can I perform "Publish>Deploy as API executable" programmatically?

Rubén
  • 34,714
  • 9
  • 70
  • 166
Asad Khan
  • 347
  • 4
  • 10
  • Welcome to stack. Please include the code you have tried and describe any problems you are having with it. Also please clean up your tags I don't think you are doing this in app script and .net. – Linda Lawton - DaImTo Oct 27 '17 at 13:41
  • @DaImTo, have you read my question carefully? Had there been a code to deploy google spreadsheet programmatically, would I bother to post a question?If you cant offer assistance, try to stay out of it. – Asad Khan Oct 27 '17 at 13:50
  • I have done this before and can't help you fix your code without seeing it – Linda Lawton - DaImTo Oct 27 '17 at 14:31
  • @DaImTo can you refer me to some link, where I can find the solution of this problem, I don't have the code, refer me to some API link or any link on the web. I want to achieve this programmatically using API. – Asad Khan Oct 27 '17 at 14:42

1 Answers1

-1

You may want to check the recent updates in Release Notes and see if it will help. It's stated:

  • You can now deploy a script project directly from the project manifest.
  • We've updated the Publish script editor menu item to more accurately represent the various kinds of deployments a project can have, such as add-on, web app, or API executable deployments.

For more information, you may want to check these references:

Then, for features not currently supported, you may check or file a feature request here.

Teyam
  • 7,686
  • 3
  • 15
  • 22
  • the above-given links do not provide any information to publish google spreadsheet using API, these are the only ways to deploy/publish manually using interface – Asad Khan Nov 01 '17 at 13:22