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

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -