AnsweredAssumed Answered

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

Question asked by steventhornley on Oct 19, 2018
Latest reply on Aug 9, 2019 by hexatriene
Branched from an earlier discussion

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?

Outcomes