How to save a rendered PDF file as Attachment?
Problem : How to save a rendered PDF file as Attachment ?
Solution:
Use getContent() method of PageReference. Sample code can be found at
http://blog.jeffdouglas.com/2010/07/14/attach-a-pdf-to-a-record-in-salesforce/
Solution:
Use getContent() method of PageReference. Sample code can be found at
http://blog.jeffdouglas.com/2010/07/14/attach-a-pdf-to-a-record-in-salesforce/
Comments
Post a Comment
Feedback - positive or negative is welcome.