2 Replies Latest reply on Oct 22, 2018 1:31 PM by steventhornley Branched from an earlier discussion.

    CAS number is clickable - how do I get that into this template?

    steventhornley

      On a different Template the CAS number is clickable to search the CAS number on-line, how do I get that into this template?

       

      The code in parts.py that sends the clickable text is

       

      else:

                  c = Chunk(cas, link)

                  c.SetAnchor("http://webbook.nist.gov/cgi/cbook.cgi?ID="+cas)

                  cell = PdfPCell()

                  cell.Border = 0

                  cell.AddElement(c)

                  table.AddCell(cell)

       

      Is there a way to put this into the template that I'm working?