Ahmed Farid
Ahmed Farid

Reputation: 128

Why an iframe does not load when embedded into a Web App page?

I tried to load this html code onto a Google script:

<iframe src="http://www.w3schools.com"></iframe>

saved the file with the name "page" then used this in the Google script:

function doGet() { return HtmlService.createHtmlOutputFromFile('page'); }

It views the iframe, but with no content. Am I missing something here?

Upvotes: 3

Views: 861

Answers (1)

Corey G
Corey G

Reputation: 7858

You cannot show iframes inside Apps Script.

Upvotes: 3

Related Questions