Title: Google App Script
Last modified: August 31, 2016

---

# Google App Script

 *  Resolved [Simone Montrucchio](https://wordpress.org/support/users/simonemontrucchio/)
 * (@simonemontrucchio)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-app-script/)
 * Hi,
    I installed the plugin and write [gdoc key=”[https://script.google.com/macros/s/AKfycbzugiE8wYV66pKGEKswokGrZa4ebeBjZExKQvr8cFC8HqfW3eM/exec”%5D](https://script.google.com/macros/s/AKfycbzugiE8wYV66pKGEKswokGrZa4ebeBjZExKQvr8cFC8HqfW3eM/exec”%5D)
 * It doesn’t work, the script (a simple form) is not shown.
 * I need an help please 🙁
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-app-script/#post-7222058)
 * Your Apps Script is outputting a complete, framed webpage. To use this plugin
   to embed the HTML output of Google Apps Scripts into your pages, you need to 
   create raw text from Google Apps Script. In other words, [use `TextOutput`](https://developers.google.com/apps-script/reference/content/text-output),
   not `HtmlOutput`.
 *  Thread Starter [Simone Montrucchio](https://wordpress.org/support/users/simonemontrucchio/)
 * (@simonemontrucchio)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-app-script/#post-7222062)
 * So in code
 *     ```
       function doGet(e) {
         var template = HtmlService.createTemplateFromFile('Form.html');
         template.action = ScriptApp.getService().getUrl();
         return template.evaluate().setTitle('Prova Videonauti nuova');
       }
   
       function include(filename) {
         return HtmlService.createHtmlOutputFromFile(filename)
             .setSandboxMode(HtmlService.SandboxMode.IFRAME)
             .getContent();
       }
       ```
   
 * I have to change html to text ?
 * Just this?
 * Nothing will be damaged, simply plugin will work?
 * I found this in your link
 *     ```
       function doGet() {
          return ContentService.createPlainTextOutput("hello world!");
        }
       ```
   
 * how to integrate my script with this ?
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-app-script/#post-7222064)
 * Sorry, I don’t help with custom programming on these forums. As I said:
 * > you need to create raw text from Google Apps Script.
 *  Thread Starter [Simone Montrucchio](https://wordpress.org/support/users/simonemontrucchio/)
 * (@simonemontrucchio)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/google-app-script/#post-7222065)
 * Yes nor me.
 * For this reason I use plugins and not write them on my own.
 * You say in description this plugin work with Google App Script (I have one not
   written by me but provided) and it actually doesn’t work.
 * I need help in changing what should work in your description but do not.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Google App Script’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Simone Montrucchio](https://wordpress.org/support/users/simonemontrucchio/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/google-app-script/#post-7222065)
 * Status: resolved