You need to sign in to do that
Don't have an account?

rendering of vf page as pdf is showing an error message failed to load the pdf
hi i am getting the attached error while rendering the page.
I checked in the debug logs i can see the content in the blob string but it is not getting rendered also the pdf is getting attached with the document object to and the mime type is also shown as application/pdf still i am facing the above error.
Please help
Thanks
To find the exact issue. try to enable debug mode first and then remove renderas="PDF" attribute from page. You should see actual issue then.
Let me know if that works.
Thanks,
Himanshu
Share the Code. so we can help with your Issue
Thank you
BLearn - Sai
Controller Class:
receipt page: the receipt page is the page that needed to be converted into pdf but renderAs gives ab encoding error after the button is clicked on the approval page.'
thanks in advance