You need to sign in to do that
Don't have an account?
Shrikant Bagal
Urgernt Is it Possible to Upload File With Multiple Chunks?
Hello Guys,
Q: Is it Possible to upload Large file with Chunks In Salesforce using Any think without Third Party Application Please.
- Any API
- REST API
- Javascript
- RemoteAction
- Any Other Option.
Thanks!
Q: Is it Possible to upload Large file with Chunks In Salesforce using Any think without Third Party Application Please.
- Any API
- REST API
- Javascript
- RemoteAction
- Any Other Option.
Thanks!
You an use Javascript Remoting for is uploading a file to Salesforce. Admittedly, using an apex:inputFile element that is bound to a variable in your controller is probably easier but you may have a scenario where you need to have granular control over how your page acts.
Benefits
More granular and responsive error handling (Know the file is too big before you try to upload it)
Keep track of upload status (you could create a progress bar for uploads if you wish)
Limitations
Considerably more complex
Hoops to jump through because of limits on the platform
Javascript Remoting maximum message size of 1 million characters (“Input too long. [0, 1000000]”)
Maximum String length of 6 million characters in apex code (“String length exceeds maximum: 6000000″)
This means a functional limit of a file size of about 4.3 MB
https://forceadventure.wordpress.com/2013/07/19/uploading-attachments-to-salesforce-using-javascript-remoting/
Best Regards
Naga Kiran