How to create a hyperlink within a PDF using ColdFusion, so that this hypelink will open in a new browser tab? -


i creating pdf dynamically using cfdocument tag of coldfusion 9. hyperlink there in body of dynamically created pdf. opening pdf in browser, when clicking hyperlink, opening in same tab if have added target="_blank" hyperlink. so, there way open hyperlink in new browser tab?

here sample code,

    <cfdocument format="pdf" filename="d:\test\newpdf.pdf" overwrite="yes" mimetype="text/html">       more <a href="https://www.google.co.in/" target="_blank">click here</a>.     </cfdocument> 

please help.

this simple html. need open link before execution o cfml page. so, if want open tab pdf should call execute in new table

<a href="mycfmaspdf.cfm" target="_blank">link</a> 

code mycfmaspdf.cfm

   <cfdocument format="pdf" filename="d:\test\newpdf.pdf" overwrite="yes" mimetype="text/html">  more <a href="https://www.google.co.in/" target="_blank">click here</a>. 


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -