You need to sign in to do that
Don't have an account?
shiv@SFDC
Content Document
Hi All,
I am asking you this question after doing so much resarch on file functionality of SFDC.
I want to know when we upload a file in salesforce through chatter, In actully where this files stroes in salesforce.
Content document only has the information about the file not the body of the file. I want to know where the acturl body of the file is saved.
After uploading file when I goes to file and open in salesforce I see thir record Id '069R00000009ICF' In this Id 069 is the Id of content document objecy but when i see structure of content document in SFDC Doc I don't see any body field over there.
Please let me know how acturlly it's working.
Thank You very much in advance.
I am asking you this question after doing so much resarch on file functionality of SFDC.
I want to know when we upload a file in salesforce through chatter, In actully where this files stroes in salesforce.
Content document only has the information about the file not the body of the file. I want to know where the acturl body of the file is saved.
After uploading file when I goes to file and open in salesforce I see thir record Id '069R00000009ICF' In this Id 069 is the Id of content document objecy but when i see structure of content document in SFDC Doc I don't see any body field over there.
Please let me know how acturlly it's working.
Thank You very much in advance.
If you check the documet, it's mentioned at the end:
A document record is a container for multiple version records. You create a new version to add a document to the system. The new version contains the actual file data which allows the document to have multiple versions. The version stores the body of the uploaded document.
Link:https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contentdocument.htm
All Answers
Both the files and content gets stored in ContentDocument object. You can refer to this link to check the underlying data model :
https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_content.htm#sforce_api_erd_content
Also you can refer to document: https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contentdocument.htm
Thanks,
Pratik
Can you please tell me where is the body of file stored ?
If you check the documet, it's mentioned at the end:
A document record is a container for multiple version records. You create a new version to add a document to the system. The new version contains the actual file data which allows the document to have multiple versions. The version stores the body of the uploaded document.
Link:https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contentdocument.htm