+ Start a Discussion
Vishant ShahVishant Shah 

Life span of Notes and Attachments

Hi,

I am being asked to find out how long does salesforce store notes and attachments, Is it a case of lifetime till we have our org or a n number of years?

Please let me know as soon as you can.

Ta
Vish
Best Answer chosen by Vishant Shah
Ashish_SFDCAshish_SFDC
Hi Vish, 


Salesforce does not delete or archive any of files or records, we as Admins  have to manage storage. 

See the documents below which explains briefly, 

http://www.iserviceglobe.com/CaseStudies/Salesforce/ProductPageSalesforceCRM-ManagingyourSalesforceCRMStorage.pdf

Also See a similar discussion, 

http://salesforce.stackexchange.com/questions/1057/what-are-the-options-for-data-storage-size-in-salesforce-instance-is-reached-or


Regards,
Ashish

All Answers

Ashish_SFDCAshish_SFDC
Hi Vish, 


Salesforce does not delete or archive any of files or records, we as Admins  have to manage storage. 

See the documents below which explains briefly, 

http://www.iserviceglobe.com/CaseStudies/Salesforce/ProductPageSalesforceCRM-ManagingyourSalesforceCRMStorage.pdf

Also See a similar discussion, 

http://salesforce.stackexchange.com/questions/1057/what-are-the-options-for-data-storage-size-in-salesforce-instance-is-reached-or


Regards,
Ashish
This was selected as the best answer
Vishant ShahVishant Shah
Ashish, Thanks for the info

Do you know which sobject is Notes and Attachment stored in?
Ashish_SFDCAshish_SFDC
Hi Vish, 


See the links below, 

https://www.salesforce.com/us/developer/docs/api/Content/data_model.htm

https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_documents.htm

And see the discussion to call attachments and notes as entities, 

"There is no way to do it directly as Attachment is one of those "lesser" objects that salesforce really gets "protective" about in a random and biased way. The only "legit" way to do it is to use some external build&deploy tools such as Force.com IDE.

If however you are not a stranger to undocumented 'hacks' do the following. Go to any object's trigger list and click create new. In the URL locate entity query string parameter (e.g. entity=Case) and change it to Attachment (entity=Attachment) and press Enter. Newl loaded screen will accept Attachment trigger."

http://stackoverflow.com/questions/5395682/where-do-i-add-a-trigger-for-notes-and-attachments-in-salesforce-com


Regards,
Ashish