+ Start a Discussion
Rohit SharmaGRohit SharmaG 

Link on PDF gerenated by VF page

I want to hyperlink as "Back" on PDF to navigate Page to Case list view page -

<div align="right" >
     <b><apex:commandLink target="_blank" action="{!cancel}"  value="Back " id="theCommandLink" /></b>

User-added image

It is not working. please assist on this.

Thanks for support !!!!!!!!!!!
/Rohit Sharma
According to the Visualforce docs, apex:commandLInk is unsafe to use when generating a PDF, which usually means it doesn't work.  

apex:outputLink is documented as safe to use, so you could provide a link back the previous page that way.  You won't be able to post back to the server though.
Try and use this. 
<apex:outputLink value="{!URLFOR('/500')}">Back</apex:outputLink>