You need to sign in to do that
Don't have an account?

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.
https://gist.github.com/rdehler/53ca87d727970af661b8#file-sample-save-and-open-pdf-button
Thanks in advance.
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.
https://gist.github.com/rdehler/53ca87d727970af661b8#file-sample-save-and-open-pdf-button
Thanks in advance.

This should help you http://blog.jeffdouglas.com/2010/07/14/attach-a-pdf-to-a-record-in-salesforce/