You need to sign in to do that
Don't have an account?
saran siva
query the files object in salesforce from external system
I need to get the file whcih is attached in upload files(not attchments) types as file. I need to get the body, name and content type of the file in exteral system. How to query the files from saelsforce.
This is what I used for querying the attachments-it working perfctely.
select Id,Name,ParentId,Body,ContentType,Parent.Id from attachment WHERE parentId != Null.
I want same for query the files. I have researched and found the "contendocumentLink" for this. but how to get the body and name in that. Please assist
This is what I used for querying the attachments-it working perfctely.
select Id,Name,ParentId,Body,ContentType,Parent.Id from attachment WHERE parentId != Null.
I want same for query the files. I have researched and found the "contendocumentLink" for this. but how to get the body and name in that. Please assist
2 For content document for name use the title and for body use HTML.
for more reference use the content document guide provide by salesforce