Activity Forums Salesforce® Discussions Want to show a text area field on Visualforce with some different format as compared to on PDF

  • Utsav

    Member
    June 9, 2016 at 12:28 pm

    Hi Rachit

    If you are rendering a VF page as Pdf and wants to show some different format values on Pdf page as compare to Vf page then use following things in code:

    1. Use paremeter based rendering on VF page

    renderas="{!if($CurrentPage.parameters.p == null, null, 'pdf')}".

    2. Use an outputpanel based on this parameter p and rendered that panel only if p==1

    which means you can seprate values from VF page to Pdf page.

     

    Hope it helps

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos