+ Start a Discussion
NoamNoam 

Getting Blob data from content document using File Sync

Hey all,
So im using File Sync to upload an excel file to salesforce in order to use it in other class ive built (the class is reading the csv file and insert the data to salesforce - that one works fine uploading the file manually).
Ive managed to create a trigger that invoke on each document synchronizing\uploading to salesforce.
The problem is - the content document object doesnt have a "Body" \ "ContentData" field.
Ive tried to call a "FeedItem" or a "ContentDocumentFeed" record that holds that data but no record related to the content document record that been triggered is found.

Hope i managed to explain the situation and if anything comes to your mind i will be glad to hear it.

Thanks in advanced,
Noam