Is it possible to upload the files with size more than 25MB and can we show them in related list of a custom object? what is the best way to achieve this? Do we need to use external storage if the size limit crosses 2GB limit? can we upload the files via VF page?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Yes you can do this using chatter. Check here Upload a File as Large as 2GB in Salesforce Using a Visualforce Page
Basically what you need to do here is include chatter component in the VF page and then using some CSS display it and attach file of 2 GB.
But if you want to upload more then 2 GB in single shot then you need external server(Drive, Dropbox) for this.
Here's a resource.
So to answer your questions:
As Tushar said, Chatter would be one way, otherwise you'd want to look at using the REST API for large file sizes.
Yes. You'd probably want to look at other solutions (SharePoint, OneDrive, Google Drive, Dropbox etc...).
Yes, but only to a 10Mb limit.
Or you can do as Tushar says by uploading directly to the Attachment object: