+ Start a Discussion
kaarthiksankar ADkaarthiksankar 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)

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 will have the blob value of Pdf file.

Please help.

Try what I proposed in this forum post https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AY1q
ope this helps

May the Force.com be with you
Gsekar DuraiGsekar Durai

Do you have solution for this?

Sarah J DSarah J D

Same issue here! Any solution for this?