How do I insert a Google Document into a Google Site using Google Apps Script -


using google apps script, how can accomplish same "insert" -> "document" within google sites editor?

using gas, can obtain url and/or id of document, cannot create equivalent of embedded google document within google site page.

i have been able insert <iframe>, assumes document has been published web-document.

i can copy html existing page , using replace() substitute different id, appears work if original page gadget has borders , title turned on.

i think approach mentioned should work. have 'template' page dummy google document inserted in , use apps script replace dummy document. can put in code around replace have.


Comments

Popular posts from this blog

Glib GIOChannel -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -