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

How to generate PDF on Contacts and PDF should contain Contact details

Hi All,

Please bear with me. I only have very basic knowledge in APEX and I'm just reading around. I need assistance creating a button that will generate PDF form on Contact and should contain Contact details. The output would be:

1. Click Generate Job Offer button.
2. There should be a PDF format details.
3. Job Offer should be attached to Notes and Attachment section.

I've tried to use this link from GitHub and it works perfectly fine but my problem is I don't know how to modify this code that will merge the fields in Contact Record. Any assistance is greatly appreciated on how to call the values from Contacts.

Thanks in advance.
Parvinder SinghParvinder Singh
This should help you