title: Publish Google Sheet as a Web App bound to the Worksheets not other HTML
body: <p>I have developed a Google Sheets project with lots of Apps Script driving user experience, including accessing files on my Drive. The user is working with the Spreadsheet and its Sheets.</p>
  <p>This should serve many users <strong>accessing through the Internet (not necessarily having any Google account)</strong>.</p>
  <p>Publishing the project as a Web project open to &quot;Anyone in the Internet&quot; and using the published URL - it expects to be returned with an HTML from doGet(e).</p>
  <p>However, <strong>my user interface are the Sheets themselves!</strong></p>
  <p>I'm almost sure it was the normal behavior in the past.</p>
  <p><strong>How can I bind the Sheets as the user interface in that web application?</strong></p>
  <p>What I tried to do, is to have an HTML auto call a script to open the Worksheet - but it doesn't trigger the script. Here it is:</p>
  <pre><code>function doGet(e) {
  
    return HtmlService.createHtmlOutputFromFile(&quot;opensheet.html&quot;)
          .setSandboxMode(HtmlService.SandboxMode.IFRAME);
  }
  </code></pre>
  <p>The HTML that should trigger the Spreadsheet to open:</p>
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;base target=&quot;_top&quot;&gt;
  &lt;/head&gt;
  &lt;body onLoad=&quot;getData ();&quot;&gt;
      &lt;p&gt;Loading app. Please wait...&lt;/p&gt;
      &lt;script&gt;
          function getData() {
              var sheetFileId = &quot;1e07gJ1...VEJDqMbTI&quot;;
              var sheetFile = SpreadsheetApp.openById(sheetFileId);            
          }
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>Please advice - how to get it to work?</p>
  <p>Thanks!
  Mor</p>