r/GoogleAppsScript • • Jun 30 '25

Question Deploying my Google Apps Script

Hello everybody,

I built a Google Apps Script that essentially does following:
- Creates a new Spreadsheet function CALL_API to call an API

- A menu for people to have a playground and to see a "Cheat Sheet". It bunch of custom HTML code

When I use it in my Spreadsheet everything works. However I am now working on deploying it as internal Workspace app. The application can be installed however nothing works. I also tried a Test Deployment, but that also didn't help since I couldn't see the menu or extension as well.

Anybody has a hint on what I could do?

4 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/Competitive-Talk3170 Jul 01 '25

> What do you mean when you say this apps script creates a function? I'm assuming you mean the Apps Script is the function CALL_API, which is what you want to make available to others?

Exactly

> When you say there is a menu with a cheat sheet, and say the cheat sheet is a bunch of html code, is it a modal with html? A sidebar? In these instances, whoever is opening this modal or sidebar must be signed into their browser with the matching account that they are signed into the sheet with.

It a new menu at the top of the Google Sheets. After clicking it a modal pops up.

>When you say deploying it as an internal workspace app, are you referring to the Google Workspace Marketplace as an Internal add on?

Yes. I already have that enabled and I can install the App as an Add-On. However the menu doesn't show up. When I do a Test Deployment then I cannot see the deployment

This is my manifest:

```

{
  "timeZone": "America/New_York",
  "exceptionLogging": "STACKDRIVER",
  "runtimeVersion": "V8",
  "oauthScopes": [
    "https://www.googleapis.com/auth/spreadsheets.currentonly",
    "https://www.googleapis.com/auth/script.external_request",
    "https://www.googleapis.com/auth/script.storage",
    "https://www.googleapis.com/auth/script.container.ui"
  ],
  "addOns": {
    "common": {
      "name": "NAME",
      "logoUrl": "URL_TO_SVG_IMAGE",
      "useLocaleFromApp": true
    },
    "sheets": {
      "homepageTrigger": {
        "runFunction": "onInstall",
        "enabled": true
      }
    }
  },
  "urlFetchWhitelist": [
    "URLS"
  ]
}

```