poiuytrez
poiuytrez

Reputation: 22546

Publish add-on on GSuite marketplace in "unlisted" mode

I have a GSuite add-on that I would like to publish only on the domains of my customers (who have GSuite accounts). From what I understand of the G Suite Marketplace:

What would be the solution for this use case?

Upvotes: 2

Views: 477

Answers (1)

Wicket
Wicket

Reputation: 38469

AFAIK there is no official guide to publish and add-on for limited number of external domains.

While some services have a whitelist, this is not the case for G Suite Marketplace Add-ons and Editor Add-ons as of August 6, 2020.

So you will have to think that your add-on could be installed by anyone with a Google account but you could set something to limit it use.

Some alternatives:

G Suite add-on

  • Set conditions to set the content to be shown on cards

G Suite Editor Add-on

  • Set a dynamic custom menu
  • Set conditions to set the content to be shown on dialogs and sidebars

Maybe the simpler solution will be to use the script properties to set a list of valid domains. To do this you could use Session.getActiveUser().getEmail() / Session.getEffectiveUser().getEmail() then something to get the user domain and compare it with your add-on's whitelist.

References

Upvotes: 2

Related Questions