+ Start a Discussion
Jay KanchanaJay Kanchana 

Content , ContentDocument and contentVersion

Hello!

How is the standard object 'content' that we see under 'customize' section in salesforce related to the 'conetnDocument' and 'contentVersion' standard objects? Is it as simple as 'content' is combination of 'contentDocument' and 'contentVersion' objects that are nehind the scenes?
SonamSonam (Salesforce Developers) 
https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_content.htm#sforce_api_erd_content shows you exactly how all these 3 objects are linked, worth a read.

As is stated in the help site: https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contentdocument.htm

ContentDocument object is to retrieve, query, update, and delete the latest version of a document, but not a content pack, in a library or a file in Chatter.

Use the ContentVersion object to create, query, retrieve, search, edit, and update a specific version of a Salesforce CRM Content document or Chatter file.