Simon Baars
Simon Baars

Reputation: 2289

Manage Google Apps Scripts' permissions in one place on my Google Sites

I have currently made a site with over 100 Google Apps Scripts. These work fine for me, but whenever another user enters my site this user has to accept the permissions required for each of them separately. How can I make it so that my users can do this in one general place for all scripts on my site?

Thanks in advance!

Upvotes: 0

Views: 74

Answers (1)

Harold
Harold

Reputation: 3337

instead of having 100 differents scripts, you should only have one script that identify where it's launch from with something like var url = SitesApp.getActivePage().getUrl(); and then you decide to display value according to the page where you are.

Upvotes: 1

Related Questions