how can I insert a link, in a Google Drive Document, pointing to a different Doc? -
I wanna put it using Google Apps Script, a link to an existing document, which is the same domain Opens a separate document in I tried with the HtmlService, by creating a web app, with a hyperlink inside, but cleansing the sanitization process link. Any sign?
You enter links in documents as a paragraph with a link property. For example
function myFunction () {var doc = DocumentApp.getActiveDocument (); Var para = doc.getBody (). The append paragraph ("this is a link") .setLinkUrl ("http://www.google.com")}
Comments
Post a Comment