How to save a rendered PDF file as Attachment?
June 26, 2013
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/
0 comments