You need to sign in to do that
Don't have an account?
vivekanandan
Chatter groups to receive posts when record is updated
We have a requirement , when an opp record is updated , it should create a post in the Chatter groups. Also the entry in the groups shouldbe based on the opp record field value.(groups names are based on that).
IS there any way to get the opp record updates in chatter groups.
You can create a trigger on Opportunity and use Chatter in Apex (generally available in Summer '13) to search for the Chatter group and then post a feed item to that group. Here are some documentation links:
ConnectApi.ChatterFeeds class
http://www.salesforce.com/us/developer/docs/apexcode/Content/connectAPI_ChatterFeedsClass.htm
ConnectApi.ChatterGroups class
http://www.salesforce.com/us/developer/docs/apexcode/Content/connectAPI_ChatterGroupsClass.htm
Working with Chatter in Apex
http://www.salesforce.com/us/developer/docs/apexcode/Content/connectAPI_overview.htm
Hope this code will help you: