Can't make a Google Apps Script publish for an

2019-07-31 16:03发布

问题:

I've built a Google Apps Script and when I try to publish it won't show an option to allow anonymous users. There are only two options: "Only myself" and "Anyone within mydomain.com"

We're using Google Apps for Business (or Work is it now?).

How do I make the other options available?

回答1:

Sharing outside your Google Apps Domain may be disabled in Admin Console.

In your Google Apps Admin Console, go to Google Apps section, then Drive, click Sharing Settings and check that "Users can share files outside this organization" option is selected. Also select appropriate checkboxes below that option as necessary.

If your organization policies prevent sharing outside your domain, you can create and deploy your webapp from your personal gmail account instead.