How to render one component after another
I have an aura component which is a combination of forceChatter:Publisher and forceChatter:feed. But here in my case forceChatter:feed is getting rendered before forceChatter:Publisher. I want...
View ArticleRecord feed doesn't update on Event creation via trigger
I'm trying to get the record feed of my leads to update when I create an event with an after update trigger, it's not working. When I create the event manually the feed gets updated, but not when it's...
View ArticleSetup ConnectApi.FeedElementPage with message mentions for Test...
I have a class that uses ConnectApi.ChatterFeeds.getFeedElementsFromFeed and from the result page I extract the mentioned users.This is working as intended but now I have to create a test for this and...
View ArticleSalesforce Sites - FeedItem requires a filter by Id
I get an error message when I try to do a Javascript Remote soql query on FeedItems through "sites". It works perfect when I do this within salesforce with a standard user but it doesn't work through...
View ArticleHow can I change the FeedItem's sender?
In the case of the image, the user Alanna Clark updated an account and my trigger runned and posted the FeedItem.But I want to change the sender ("Alanna Clark") for another user called "INTERFACE"...
View ArticleChatter - Sharing post to group - FeedItem Trigger - Which field references...
When a post is shared to a group, I'm trying to capture its contents in a trigger.My thought process is to capture the shared post within a FeedItem trigger since a new FeedItem is created when a post...
View ArticleChatter - Can conversations that mention objects appear in the object's...
We are exploring the use of Chatter to replace some business comms that are currently use Slack.If I mention an object (e.g. an Opportunity) on a chatter feed, can the conversation be displayed on the...
View ArticleDisable Feed email notifications for community
On my community I added Feed component and create custom email notifications wich are sent in FeedItemTrigger. The problem is I have to disable standard email notifications for users on this community...
View ArticleSOQL CustomObject__Feed See Just see posted messages (different from draft)...
I am doing the following SOQL query to retrieve all messages on Chatter for the Essai custom objectselect CreatedById, CreatedDate, parent.Name, parentId, Id, Body, (select Id, CommentBody, CreatedDate...
View ArticlePopulate Case Subject in Chatter feed post
We are using salesforce cases and Case owners have been using Chatter to ask questions about the case. The problem is that chatter messages sent from cases only show the case number in the email. There...
View ArticlePreserving @mentions in the FeedItem trigger edit
I have written before insert trigger that concatenates Case Subject to the Chatter post when it is posted from the case record. But when I do that, @ mentions are getting stripped from the chatter post...
View ArticleQuerying ContentVersion or ContentDocument for User Other Than Owner - Only...
My issue is that I can't seem to query more than one record at a time from the ContentVersion or ContentDocument if I'm not the owner of the file. Here is what works for me:...
View ArticleBest way to upload Chatter file
According to this document, In version 36.0 and later, you can’t create a feed post and upload a binary file in the same request. Upload files to Salesforce first, and then use the file IDs to attach...
View ArticleChatter Posts created from Apex not visible from Profile view
I am creating a chatter post (FeedItem) from a trigger on a custom object after update of that object. I want that post to be visible on the user's profile that I have specified in the ParentId.The...
View ArticleHow to stop unwanted CreateRecordEvent Type chatter feed?
We're using SMS Magic managed package where it creates a chatter post every time we send an sms. This seems to flood the chatter communication and I'm trying to clear them as soon as record is created...
View Article--- Article Not Found! ---
*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***
View ArticleRetrieve UserId of @mention user from chatter post in Apex
Is there a way to retrieve the user id of @mention user from chatter post in Apex? We can write a before insert trigger on feeditem, but when we display the body (which has @mention user) it simply...
View ArticleUse Specific Case Field to Create Chatter Feed Item
Currently I've noticed when a Chatter feed item gets created for a Case record, the Auto Number field is what the Post initially gets created with.We've got a separate Case Name field that is more...
View ArticleIs there a way to get the share count of discussions in community salesforce?
I'm working on a component and need assistance with retrieving the share count of a FeedItem using Apex.I have explored the Salesforce documentation and resources but haven't been able to find a...
View ArticleSalesforce "Knowledgeable People" component not showing data in community...
I have dragged the "Knowledgeable People" component on the topic detail page and configured it as per the guidelines given in the documentation. But the data is not getting shown in the community. I am...
View Article