R
R
Romka70702021-05-31 20:38:44
Google Apps Script
Romka7070, 2021-05-31 20:38:44

How to publish a table on the web without a table and sheet name?

Hello.
I need to bring data from Google Sheets to the site. I want to use iframe. If you use the built-in "Publish Table" method, then the table name and sheet are published along with the data, but I only need the data. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Boev, 2021-05-31
@ProgrammerForever

Make a doGet () method in which you return the HTML code. Expand the app and save the link.

const HTML_CODE = "HTML код страницы";
function doGet(e){
    return HtmlService.createHtmlOutput(HTML_CODE);
};

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question