Tag 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

Salesforce: Transfer chatter group data from one organization to another

Unfortunately chatter group data is not copied from production to full sandbox after refresh. So if you have to test posting to chatter group then you have to use dataloader to extract data from production and push it to sandbox. … Continue reading

Posted in dataloader, Posts in English, salesforce | Tagged , , , , , | 1 Comment