bumpkin
bumpkin

Reputation: 3469

How to programmatically add custom functions?

I'm trying to build a rather unique google sheets addon. Google's documentation is great for adding custom functions, however I want my addon to programmatically add custom functions.

For instance, the following doesn't seem to be possible:

I know it's possible to define scraper() ahead of time.

Is it possible to do so live?

Upvotes: 1

Views: 448

Answers (1)

Wicket
Wicket

Reputation: 38425

The Google Apps Script platform have changed a lot since this question was posted back in 2014. Regarding editor add-ons they can't add random custom functions but they could send parameters to an external API that might include a function name and the required parameters by that function by using UrlFetchApp.

Upvotes: 1

Related Questions