+ Start a Discussion
Nagarajan K VNagarajan K V 

Feeder Attachments

Hi, I try to import feed attachments using data loader. I can see the imported file in "Notes and Attachments" but I want it in a way how we get when we attach a file using feed with the options file,poll etc. Can anyone help me to solve this..?
ShashForceShashForce
Hi,

You need to insert into the "FeedItem" object to make feed posts. Please use this reference: https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_feeditem.htm

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.

Thanks,
Shashank
alouie_sfdcalouie_sfdc
It can also be done with the Chatter REST API or Chatter in Apex. Here's a REST example:

http://www.salesforce.com/us/developer/docs/chatterapi/Content/intro_input.htm#feedElementUploadExample