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

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -