You need to sign in to do that
Don't have an account?
kaarthiksankar AD
Render Blob content on page
I have a requirement to display the blob content on the VF page, Blob content is received from external web service as Base 64 string and I can convert it in to Blob. Tried the following methods to display the content.
1. converted Base64 in Blob and tried to display but it's displaying something "core.filemanager.FileBlobValue@bd9997c " on the page
2. Directly tried to display Base64 string then obviously it's displaying raw string (very large)
etc.
I want to display that content in original format, it can be of any type (pdf, xls, doc,rtf etc).
I should not use attachement or Document to store the file and download providing link to them.
following is the page used for PDF
<apex:page controller="TestDownloadFileController" sidebar="false" contentType="application/pdf" cache="false" >
{!Content}
</apex:page>
Content will have the blob value of Pdf file.
Please help.
1. converted Base64 in Blob and tried to display but it's displaying something "core.filemanager.FileBlobValue@bd9997c " on the page
2. Directly tried to display Base64 string then obviously it's displaying raw string (very large)
etc.
I want to display that content in original format, it can be of any type (pdf, xls, doc,rtf etc).
I should not use attachement or Document to store the file and download providing link to them.
following is the page used for PDF
<apex:page controller="TestDownloadFileController" sidebar="false" contentType="application/pdf" cache="false" >
{!Content}
</apex:page>
Content will have the blob value of Pdf file.
Please help.
Hope this helps
--
May the Force.com be with you
Do you have solution for this?
Same issue here! Any solution for this?
Regards
Sarah