Category Archives: Chatter

Salesforce: check if user has access to post to chatter group

Recently we developed some business logic for client to make chatter post. The logic was working perfect under admin user but when client was giving demo to his managers and tried to execute the logic under random user it failed with … Continue reading

Posted in apex, Chatter | Tagged , , , , , , , , , | Leave a comment

Salesforce: Upgrading from FeedPost to FeedItem

When you develop application for Salesforce platform, it often happens that if you validate your changeset on one day it wouldn’t necessary succeed on the next day. Another situation happened for me this Monday. 11 test methods failed when I … Continue reading

Posted in Chatter, FeedItem, FeedPost, Posts in English, salesforce, upgrade | Tagged , , , , | Leave a comment

Salesforce: Post to chatter group mentioning a user

I have found gorgeous post about posting which are mentioning users here: http://salesforce.stackexchange.com/a/11160. So we can use suggested way to post to some chatter group with mentioning a user. CollaborationGroup chatterGroup = [ SELECT Id, Name from CollaborationGroup where Name … Continue reading

Posted in Chatter, Posts in English, salesforce | Tagged , , , , | Leave a comment