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
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 ...!!!