I'm trying to load a web app into an iframe in an external html file. I've built and tested the app and it works fine, stand alone. But when I load it into an iframe i get the following error..
"Exception: No HTML file named WebAppBoot was found. (line 2, file "Code")"
I modified the Code.gs to set the XFrameOptionsMode to allow all, like so...
function doGet(e) { return HtmlService.createHtmlOutputFromFile('WebAppBoot'); output.setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL); } I still get the same error
I used this tutorial as the starting point for my web app.. Bootstrap Google Web Application Form Take a look at it to see the file structure in the google "Project", its exactly the same as my web app
return HtmlService.createHtmlOutputFromFile('WebAppBoot.html');. Sooutput.setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL);is not used. How about this? If you want to use this, when you modify it tofunction doGet(e) {return HtmlService.createHtmlOutputFromFile('WebAppBoot.html').setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL)}, what result will you obtain?