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
Nina GonzalezNina Gonzalez 

Attached a PDF to Notes & Attachments

Hello, I'm using VF with apex for an email template and an attached PDF. Works great. But now I need the attached PDF to save to the Notes & Attachment section of the record for a custom object.  Any ideas?
Amit Singh 1Amit Singh 1
Yes, you can do that. Refer below links for your reference:
https://developer.salesforce.com/forums/?id=906F0000000BRF2IAO
http://blog.jeffdouglas.com/2010/07/14/attach-a-pdf-to-a-record-in-salesforce/

Let me know if this helps :)

Thanks!
Amit