Google App Scripts For New Google Sites Release

02fentym picture 02fentym · Dec 22, 2016 · Viewed 9k times · Source

Google revamped their sites platform in November 2016, however there is no longer an option for writing Google Apps Scripts for it, as far as I'm aware. Has Google announced when they will incorporate this into their new sites platform? Any ideas?

Answer

kiden picture kiden · Oct 28, 2017

In case ppl are still looking, it's now possible to embed apps on new google sites

Embedding a web app in new Sites

In order to embed a web app, it must first be deployed in the Google apps script editor. You also need the Current web app URL from the 'Deploy as web app dialog' (make sure to get the one ending 'exec' one and not the one ending 'dev').

Or you can host an html page on, e.g. github; you'll then need that URL (whatever host you use, it must be https and host must allow iframing).

To embed a web app or url into a new Sites page, follow these steps:

Open the Sites page where you'd like to add the web app.

  1. Select Insert > Embed URL.
  2. Paste in the web app (or, e.g. github ) URL and then click ADD.

The web app appears in a frame in the page's preview.

When you publish the page, your site viewers may need to authorize the web app before it executes normally. Unauthorized web apps present authorization prompts to the user (you make these settings when you 'deploy as web app' if using a Google apps script).