+ Start a Discussion
Ravindar AdminRavindar Admin 

How to save the records as pdf?

In My Visualforce page, I have some picklist fields, Records   only display When i select the picklist fields in page . So, How to save that records as pdf or excel?
Ashish DevAshish Dev
As you might know you can display vf page as pdf.
so you need to build logic in javascript where if you select perticular value in piclist, redirect browser to vf page which display record as PDF.
v varaprasadv varaprasad
Please check once below using Contenttype we can chieve.


Ravindar AdminRavindar Admin
@Ashish Dev :

Can you provide example, so that it will be very glad.