You need to sign in to do that
Don't have an account?
Mahesh KG
System.InvalidParameterValueException: An error occurred while parsing the input string
Hi Team,
When adding the pdf to the attachment, there is a src element in the image tag of my body. which is throwing the above error.
<img src="/resource/08146000000AiqO/logi" / >
when i replace the src with null, it is working fine. but i need the image in the pdf.
Can u help us fix this?
Thanks and Regards
Mahesh
When adding the pdf to the attachment, there is a src element in the image tag of my body. which is throwing the above error.
<img src="/resource/08146000000AiqO/logi" / >
when i replace the src with null, it is working fine. but i need the image in the pdf.
Can u help us fix this?
Thanks and Regards
Mahesh
I believe, the image is in the static resource. Eg: If you have uploaded a static resource image and name of the static resource is TestImage, above line should work. However, if the format of static resource is different, say you have zip file and image is in some folder inside that, then follow different format of accessing static resource.
Please use the correct formats:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_resources_reference.htm
Thanks for the Reply.
i have an html which has the image tag in it. which is not static image. which changes for every request/order. when i add the image in the src attribute i am getting An error occurred while parsing the input string.
please let us know how to proceed in that