-1

I was wandering what are the mandatory fields of FeedItem Object ?

closed as unclear what you're asking by Mohith Shrivastava, Tushar Sharma, Ratan Paul, Chris Duncombe, Dave Humm Feb 24 '17 at 13:24

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Just FYI, I suspect you got downvoted because the question illustrates that ou put very little effort into trying to answer the question yourself before asking the question. The documentation is easily available and even if if wasn't you could have tried inserting a record and looking at the errors that cam back – brezotom Feb 23 '17 at 16:44
4

Body - The content of the FeedItem. Required when Type is TextPost. Optional when Type is ContentPost or LinkPost.

ContentData - This field is required if Type is ContentPost.

ContentFileName - This field is required if Type is ContentPost

Go through the below doc for detailed info -

You can check for other details about the fields mentioned above and all the remaining fields of FeedItem object in the documentation.

EDIT

As Rohit pointed out, ParentId is also a mandatory field

ParentId - ID of the object type to which the FeedItem object is related

  • 4
    ParentId is also an required field. – Rohit Mourya Feb 23 '17 at 14:38
  • Yes.My Bad.Forgot that. Thanks for pointing that out – Samir Feb 23 '17 at 14:40
  • @GAURAV - Please mark it as the answer if this answers your question – Samir Feb 23 '17 at 14:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.