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
bilal malikbilal malik 

How to set existing Attachment blob value in apex:inputfile tag on Page loading

I have a default attachment , i want to set it in visual force page using apex:inputfile tag.

 <apex:inputFile value="{!MyFAttachment.bl}" filename="{!MyFAttachment.filename}" id="file"/>

but it shows nothing on vf page.
Thanks!!
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Bilal,

May I request you to Please check the below link. to Attachment blob value in an input file. I hope it will be helpful.

BestRegards
RahulKumar