How to Create a CaseFeed Under a Case?
salesforce
Solution
CaseFeed it like a view - a combination of all kinds of activities happening to the Case. It's bit similar to how Events and Tasks can be viewed together on a related list of Open Activities. Check the Type field to see what does it aggregate. It kind of makes sense for a view to be readonly.
You can imitate user posting to that Case instead - that'd be `FeedItem` object.
insert new FeedItem(
ParentId = '50070000006Rn5M',
Title='Some title',
Body = 'Some long text goes here',
Type='TextPost'
);
Problem
I am trying to display case with CaseFeeds and FeedComments on my console app support page. Now when users reply to a case I want to insert a CaseFeed from my application. As per the salesforce API docs, create or upsert is not supported on CaseFeed. http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_casefeed.htm Is there any way or work around to create a CaseFeed under Case?