+ Start a Discussion
chandra2ravichandra2ravi 

How to display blob value into VF Page

Hi all,

 

How to display blob value into VF Page.

 

public list<blob> strValue=new list<blob>();

PageReference PageRef1 = Page.test;

PageRef1.getParameters().put('id','001Q000000GJ839');

 

 PageRef1.setRedirect(true);
    Blob b1 = PageRef1.getContent(); 
 strValue.add(b1);

 

 PageRef1.setRedirect(true);  

 Blob b1 = PageRef1.getContent(); 

strValue.add(b1);

 

I got following error.

core.filemanager.ByteBlobValue@1c76af7, core.filemanager.ByteBlobValue@13f938e, core.filemanager.ByteBlobValue@f08289, core.filemanager.ByteBlobValue@a231e, core.filemanager.ByteBlobValue@18794f3, core.filemanager.ByteBlobValue@440d7d]

Virendra NarukaVirendra Naruka