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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -