function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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>
 </div>

User-added image

It is not working. please assist on this.

Thanks for support !!!!!!!!!!!
/Rohit Sharma
bob_buzzardbob_buzzard
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.
SravsSravs
Try and use this. 
<apex:outputLink value="{!URLFOR('/500')}">Back</apex:outputLink>

Regards,
Sravan