+ Start a Discussion
chidambarakumari rchidambarakumari r 

OnClick JavaScript custom print button on customer custom object?

I am not sure how to write a OnClick JavaScript custom print button on custom object.

When the user clicks on this print button, the Customer details  should populate in PDF format. Kindly help me how to proceed further in this scenario.



 
VamsiVamsi
Create a new VF page with all the records details and make use of Renderas = PDF in VF page.

Please go through - https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_output_pdf_renderas.htm

Hope this helps ...!!!