function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SalesRedSalesRed 

Files vs Documents > Any Performance Benefits To Each

Hi,  I need to store documents temporarily in Salesforce so that I can then render then on a Force.com site as a PDF page.

I have 2 main choices I can see for this. To store the documents in Files or Documents.  The purpose of storing them is to have a temporary store of the file in SFDC and this file will be deleted after a period of time.  The files will not be more than 5 MB in size.

 

My question on this, is there any benefit to storing them in Files over storing them in Documents or vice versa?  The only purpose is that I can then render the file as a pdf in a force.com site?

 

Are there any performance benefits to retrieving storing the file in Fiels or Documents?

 

Thanks in advance for any help..

IspitaIspita
Are you refeerring to Attachments and Documents or Content.
Content provides lot of versatality and features but is also high on amaintenance.
Documents is simple dumping of files on salesforce without any relation to any other object.
Attachments is storing files on salesforce with information about related records
Thanks!