You need to sign in to do that
Don't have an account?
Phantom
How to upload *.csv file from client???
Hi all,
I have an issue about upload a *csv file to Force.com. My customers want to upload a *csv file to force.com but do not like to use dataloader, I must develop VisualForce page that allows customers can upload file, so anyone can help me this problem??? Please!!!
Hi,
If you just want to upload the file, you can enable the notes and attachment to the custom object.
If you want to parse the uploaded file and perform some actions on basis of that, you can create a visualforce page and user <apex:inputfile /> tag in it to enable file upload. In the controller of that page you can parse the uploaded file and do the necessary tasks.
- Anshul Verma
Hi,
Here you might find some suitable information,
http://community.salesforce.com/sforce/board/message?board.id=general_development&thread.id=26572&view=by_date_ascending&page=1
They post the way to do it from a Visual force page, for parsing de CSV there is some troubles like for example the limits on String (100,000 characters) here you can find a good start point
http://wiki.developerforce.com/index.php/Code_Samples#Parse_a_CSV_with_APEX
Regards.