What is the maximum file upload limit when creating file upload solution in visualforce vs lightning considering governer limits as well.

Based on my understanding,

  1. Using visualforce max size of file can be 10 MB (this is part of documentation for apex:inpuFile tag)

  2. Using lightning component - based on Peter Knolle's blog post - http://peterknolle.com/file-upload-lightning-component/ max size of file can be 4.3 MB

Is this correct ? Can you please share your insight on uploading files in SFDC and file size limitations in each approach ?

  • Hi apn, I am also struggling with file upload using lightning component. Did you found any solution for that ? is is true that you cannot upload file more than 4.3 MB using lightning component? refer to below link for more details : salesforce.stackexchange.com/questions/157024/… – Muzammil Bajaria Jan 23 '17 at 9:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.