Return to Snippet

Revision: 29262
at July 24, 2010 05:23 by d3developer


Initial Code
	public void recipeFiveAddPost()
	{
		  FeedPost fpost = new FeedPost();
            fpost.ParentId = UserInfo.getUserId();
            fpost.Body = recipeFiveAddAFeedPost;
            insert fpost;
		 
		 ApexPages.addMessage(new ApexPages.Message(
		 	ApexPages.Severity.INFO, 'FeedPost ID is:'+fpost.id));
	
		recipeFiveAddAFeedPost = '';
		
	}

Initial URL

                                

Initial Description

                                

Initial Title
@cloudcoder Add Chatter FeedPost

Initial Tags

                                

Initial Language
Other