You need to sign in to do that
Don't have an account?
PDF generation failed. Check the page markup is valid.
I used <apex:image url="{!$Resource.XYZ,'somePic.png'}" rendered="{!showImage}"/>
showImage is to show image if that retruns true.
and there are couple of places on the page.. I used <apex:image....
It was working earlier but started throwing exception i.e. "PDF generation failed. Check the page markup is valid."
After hits and trails, I found that
When I remove all apex:image, it renders PDF and does not throw any exception.
What could be the cause, and How can I show the required images, I also tried with simple HTML Img tag, it did not work.
Please suggest asap.
Thanks,
Saurav
There appear to be issues with PDF generation at the moment. Best to raise a case with SFDC support.
Its made the known issues page now:
http://success.salesforce.com/issues_view?id=a1p30000000Rr87AAC
This is known by SFDC. Have a look at http://success.salesforce.com/issues_view?id=a1p30000000Rr87AAC
Just spoken to support - they'll update when they have a fix.
Rich.