Questions tagged [chatter-feed]
chatter:feed Displays the Chatter EntityFeed for a record or an UserProfileFeed for a user
158
questions
0
votes
0
answers
15
views
Get Feeds of type PendingReview filtered by UserId/Group Name
Using ConnectApi we can filter filter PendingReview Feeds by using :
getFeedElementsFromFeed(communityId, ConnectApi.FeedType.PendingReview, pageParam, pageSize, ConnectApi.FeedSortOrder....
0
votes
0
answers
7
views
Get ChatterFeeds for all groups where ConnectApi.FeedItemAttachmentType is Question
I want to get Questions From all groups using ConnectAPI. Although there is a way to get Feed from all groups using :
getFeedElementsFromFilterFeed(String communityId, String subjectId, String ...
0
votes
0
answers
12
views
Poll not showing up on community feed
In Community (Customer Community License) I have added feed publisher which shows post/comments from each user. But when am creating poll for community users(using groups) , it is not showing up on ...
0
votes
0
answers
25
views
Get ConnectAPI.FeedElement for All groups using ConnectAPI
You can get FeedElements for a particular group using,
getFeedElementsFromFeed(String communityId, ConnectApi.FeedType feedType, String subjectId, Integer recentCommentCount, Integer elementsPerBundle,...
0
votes
0
answers
17
views
Chatter Notification for self
I have a requirement where when a custom button is clicked based on certain criteria a chatter post is taking place where few users are being tagged. I am using the ConnectApi for the Apex logic
Now ...
0
votes
1
answer
116
views
Populate 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. ...
2
votes
1
answer
132
views
Tag and @mentions in custom LWC?
I'm attempting to tag a users in a custom lwc component. THis is my current code.
@AuraEnabled
public static void postFeedItem(String msgTxt, String recordId){
ConnectApi.FeedElement ...
1
vote
1
answer
25
views
SOQL CustomObject__Feed See Just see posted messages (different from draft) (Chatter)
I am doing the following SOQL query to retrieve all messages on Chatter for the Essai custom object
select CreatedById, CreatedDate, parent.Name, parentId, Id, Body,
...
0
votes
0
answers
19
views
Customise the "View Details" info bubble in chatter feed in salesforce
I need to customize the contents of the info-bubble "View Details" that occurs besides the chatter feed for emails. It shows the contact name in from section but i want the email id
Also ...
0
votes
0
answers
47
views
Don't get notifications for Chatter in records I follow
I want to get notified in Salesforce when people Chatter on records I follow without those people actively @mentioning me (this would be like CC-ing people in emails).
I read other answers here and I ...
0
votes
0
answers
24
views
Wants to add @mention of the owner name of the case of chatter feed when a new case is created
I have created a trigger and it works without @mention. But I need the owner name of the case on the body of the chatter post.
trigger CasePostFeed on Case (after insert) {
system.debug('POST ...
0
votes
1
answer
79
views
Can we change the UI of Chatter?
Can we change the UI, Colors, alignment of Chatter feed?
Posts, comments?
The way it's laid out is very confusing for my users, and we want to divide posts, change color scheme, etc.
1
vote
1
answer
128
views
Add Feed to Case Lightning Record Page
I mistakenly deleted the Feed From my Case lightning Record Page.
What component do I need to use to restore this?
1
vote
1
answer
89
views
Chatter - Can conversations that mention objects appear in the object's Chatter feed?
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 ...
0
votes
1
answer
70
views
How to use 'customFilter' in Record Feed Elements Rest callout?
I am trying to query feed-elements via Rest API from the workbench. API ref
/services/data/v51.0/chatter/feeds/record/5001x00000CA8IGAA1/feed-elements?customFilter=CustomFeed
I am getting this error.
...
0
votes
0
answers
29
views
How to find if a user has shared a post on Salesforce chatter
Wanted to know if there is are ways in which I could find if a user in Salesforce has shared a chatter post.
I tried to find if this was possible by querying the FeedItem and its associated object and ...
1
vote
1
answer
44
views
How to find when a user has upvoted or downvoted a chatter post
We are having a public community hosted on Salesforce and we are trying to create a custom report which would allow us to find unique contributors to the community. One of the criteria apart from ...
0
votes
1
answer
186
views
Setup ConnectApi.FeedElementPage with message mentions for Test (setTestGetFeedElementsFromFeed)
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 ...
0
votes
1
answer
87
views
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 ...
0
votes
1
answer
309
views
forceChatter:feed is not working as expected
I am trying to use forceChatter:feed from (https://developer.salesforce.com/docs/component-library/bundle/forceChatter:feed/documentation).
The below code is working fine and the result is as expected....
0
votes
1
answer
22
views
Can we insert both object record via any way FeedPollChoice and FeedPollVote?
Can we insert both object record via any way FeedPollChoice and FeedPollVote?
Using Connect.API Or normal apex.
0
votes
2
answers
871
views
How to use forceChatter:feed with a record?
How to show the Chatter feed for a record in a custom component? I am trying to use the forceChatter:feed type="Record" but it is not giving the correct results for the record?
Can anyone ...
0
votes
0
answers
1k
views
Chatter feed says Chatter isn't enabled or the user doesn't have Chatter access
Hi I have to enable chatter to post comments for knowledge articles. So I enabled chatter, enable feed tracking for knowledge object. We have two record types so for both respective page layouts I ...
1
vote
1
answer
435
views
The Question Object is unavailable/not supported in My Org, even with chatter question enabled?
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_question.htm
This developer doc describes the details about the Question object, and I have ...
0
votes
0
answers
50
views
Cross Community Collaboration
I have partner community and customer community set up for both partners and customers respectively. Business is now looking for collaboration between partners and customers (Ex: Direct messages so ...
0
votes
1
answer
313
views
Embedding videos in Chatter feed for Lightning Salesforce Community
I have been trying to embed video links in Chatter feed on Lightning Salesforce Community for which I enabled "Allow users to compose rich text posts" and "Allow Rich Link Previews"...
1
vote
2
answers
169
views
How to disable the creation of feed items when a task is created via the REST API
We have an integration between our phone system (3CX) and Salesforce. It logs calls into Salesforce using the REST API: /services/data/v37.0/sobjects/task RequestType="Post"
Those tasks have the user ...
1
vote
2
answers
795
views
How to get ENABLED Feed Tracking custom object fields
How can I query (SOQL/APEX/API) the feed tracking custom object fields that has CHECKED ENABLE FEED TRACKING? I'm looking to get the ONLY fields that has FEED TRACKING.
As shown the screen shot below,...
1
vote
0
answers
29
views
Unable to identify which type of post User Profile Stats standard component counts
I have created the custom user profile stats that can be seen below as Influence Custom.
The purpose of creating the replica is to make text under the count clickable and when users click on the link ...
0
votes
1
answer
733
views
How do I avoid error ConnectApi.ConnectApiException: Cannot provide both 'Poll' and 'QuestionAndAnswers' capability values at the same time
I am trying to set a question title for a poll chatter post created by apex using the following code
CollaborationGroup g = [SELECT Id FROM CollaborationGroup WHERE Name='Edge Communications Customer ...
1
vote
0
answers
235
views
View a child record's chatter feed from Parent record
The Problem: Chatter feeds are powerful, but require the User to open the record to view it. When trying to centralise everything on a single Parent record, this does not make for a great UI/UX.
The ...
0
votes
1
answer
51
views
File link appears when Chatter Feed is hidden and Page is refreshed
I have a requirement to hide the File Link in chatter feed. I have a VF Page and I am able to do this using the below code.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"...
2
votes
0
answers
147
views
Multiple Files on chatter Feed is not showing when created from apex
I see Chatter post can allow multiple files to be posted at a time in Lightning. But from the below code in Apex, I'm only able to get one file on the chatter post.
List<ConnectApi.BatchInput> ...
0
votes
0
answers
47
views
POST as another user using Salesfore API. (Sender Id unavailable in request body)
I am trying to use chatter REST API to GET and POST data into custom C# application from a Salesforce. I am able to get data successfully. But, when I try to POST data into Salesforce as a particular ...
0
votes
0
answers
113
views
Default text in chatter post
I recently created a chatter group and I have been trying to get certain chatter posts sent to the chatter group via process builder. Salesforce doesn't allow rich text for feed items via automation ...
0
votes
1
answer
395
views
Display Community collaboration group announcements using LWC
In our ORG, we use both Salesforce and Customer Community Plus licenses. Its not a public community. You need to login to access any pages on our site.
I built LWC Component (apiVersion: 47.0) to ...
1
vote
1
answer
290
views
Access Errors on FeedAttachment for Chatter Test Class
I am designing a test class for a Chatter component controller I did not design, and I am having issues creating test data. I have posted code below my issue description. I have removed most of the ...
0
votes
1
answer
713
views
ConnectApi.ConnectApiException: Mentioned group does not exist
I have a chatter feed publisher component at 2 places(topics page and article page) in a community and whenever user posts something, I'm writing a trigger code on FeedItem object to auto at mention a ...
0
votes
1
answer
352
views
How To stop feedItem for status field on Case?
I have enabled feed tracking for Case. But the status field is not set to tracking. But I am still able to see the feedItem on status changes.
Please, let me know if I am missing anything or it can ...
0
votes
0
answers
61
views
Allow Drafting Emails which are sent from chatter component on Opportunity object
On the Case object, I was able to set up the Chatter component and when I type something but don't send the email, it's saved automatically as a draft.
I need to enable that on Opportunity as well.
...
0
votes
0
answers
289
views
Custom Chatter Feed
Trying to build a lightning component or VF page wherein I can quickly see below views of chatters, is there something nearby already available on AppExchange or Github?
List of all unread chatters (...
1
vote
0
answers
195
views
Email Message on Case Feed - Is it Possible To Show the "From" Address Not the "To"
We are using Service Console with Feed Enabled Layouts on Cases. We are using a programmatic solution to consume Email replies to existing Cases and save the Email on the Case. In the Case Feed an ...
0
votes
1
answer
347
views
How to restric user to edit and delete other user's post in community discussion?
I want to allow user[Login user in community] to modify only the post created by himself and don't want to show delete and edit option on other user's field.Is it possible to restrict user to delete ...
0
votes
1
answer
58
views
How to track if user has inputted any text on the Salesforce Chatter Email Publisher
How do we know when user has made any inputs on the Email Publisher? When user made any changes to this field, and accidentally closes the tab on the Service Console, there will be no pop up message ...
3
votes
0
answers
453
views
Difference between ConnectApi.ChatterFeeds.postFeedElement and direct insert of FeedItem
Salesforce API describes ConnectApi.ChatterFeeds.postFeedElement(communityId, subjectId, feedElementType, text) method which supposed to be used to create a feed item.
ConnectApi.FeedElement ...
0
votes
1
answer
616
views
Process builder's Post to Chatter error
In Process builder, I have a Post to Chatter action. When this action gets triggered, I am getting error message and exception is thrown. I have attached the error line from debug logs: ...
0
votes
1
answer
878
views
Integrate custom lightning web application with chatter
I am trying to integrate my custom application I built with the help of the LWC with chatter so that user can post notes or send emails from application. I tried searching on google on how to do this, ...
0
votes
1
answer
572
views
Error - Insufficient Privileges Class.ConnectApi.ChatterFeeds.postFeedElementBatch: line 1254
The following exception has occurred:
Insufficient Privileges: You do not have the level of access necessary
to perform the operation you requested. Please contact the owner of
the record or ...
1
vote
1
answer
188
views
Like/Dislike chatter feed not working in Community
We need to give community user ability to like the feed item.
Tried below code.
ConnectApi.ChatterFeeds.updateLikeForFeedElement(communityId,feedItemId, true);
Error:
System.NoAccessException: ...
0
votes
1
answer
174
views
How do I create a FeedItem post with an @collaborationgroup
I've created a feed item post without issue but setting the @ in the body text does not work. How do I accomplish this
Happening on a case object
{
FeedItem fi = new FeedItem();
fi.parentid = c....