+ Start a Discussion
SimrinSimrin 

Tutorial for implementing chatter

Hello,

I am looking for simple tutorial for chattter.

I want to send information from visualforce code and not through clicks.
For example if a row is deleted from pageblocktable, i want to send infromation from 'delete' fucntion that, row has been deleted.

Thank you for suggestions.

 
Best Answer chosen by Simrin
Sagar PareekSagar Pareek
//Adding a Text post
FeedItem post = new FeedItem();
post.ParentId = oId; //eg. Opportunity id, custom object id..
post.Body = 'Enter post text here';
insert post;