Blob.toPDF() not showing Images in Salesforce

1. Check whether the image size is less than 20kb or 15kb.

2. Use system.debug() to print the PDF content before Blob.toPDF() and try to render it as HTML file.

3. Check whether the Image URL is a valid URL.


No comments:

Post a Comment