+ Start a Discussion
Rahul456Rahul456 

How to upload a file which is in my local drive into Document object

I have developed a visual force page(Form)  through which I am able to access File existing in my Local Disk.
 
The problem I am facing here is:How to save this File in  Document object of my instance.
 
Please Suggest me
Ron HessRon Hess
the next release is scheduled here:
http://trust.salesforce.com/trust/status/

this release contains the new component you need

Message Edited by Ron Hess on 09-16-2008 08:50 PM
TehNrdTehNrd
There is a new component coming in the Winter 09 release that should assist with this. <apex:inputFile>

-Jason
dchasmandchasman
Winter '09 has a new component, apex:inputFile, that will help you accomplish this easily but for now you are missing some important server side bits that handle multipart mime encoding that will make this difficult at best. Winter '09 is being deployed to test.salesforce.com sometime over the next few weeks - can you wait until then?


Message Edited by dchasman on 09-16-2008 12:20 PM