function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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)
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.

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

--
May the Force.com be with you
Gsekar DuraiGsekar Durai
Kaarthik

Do you have solution for this?

Sarah J DSarah J D
Kaarthi!

Same issue here! Any solution for this?

Regards
Sarah