Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [feedcomment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

If user in list, update case field on chatter

I have written an apex trigger based largely off another answer on here which updates a timestamp field on a case, my question is -- how can I do the update on the field only if a certain user has ...
-2
votes
1answer
31 views

Issue in FeedComment Trigger

I have a trigger on FeedComment which is intended to prevent file upload in FeedComment, below is the code. It shows the popup error msg on the screen but in backend it inserts ContentVersion,...
1
vote
1answer
41 views

How can I mark 'Best Answer' through ConnectApi?

How do I mark an answer as Best Answer through ConenctApi? I tried setting bestAnswerId of ConnectApi.QuestionAndAnswersCapabilityInput but it does not mark the answer as Best Answer. ConnectApi....
0
votes
0answers
67 views

Unable to write BestCommentId on FeedItem in test class

I am trying to write a test class to test an Apex class that uses FeedItem object. The Apex class checks if the FeedItem record has a BestCommentId and does some actions. A snippet of the test data ...
3
votes
1answer
66 views

Invoking trigger when an answer is marked as Best Answer in Chatter

I am trying to invoke a trigger when an answer is marked as 'Best Answer' in Chatter Question. I tried a trigger on FeedItem and FeedComment objects, but the triggers were not invoked when I mark an ...
1
vote
1answer
96 views

Object that is used for Case Feed comments

I'd like to create a trigger that fires every time a user, either internal or an external community user, comments on a case. Here is my comment I do know that the CaseFeed object is used because ...
2
votes
2answers
1k views

Query FeedComments for specific parent Type

For FeedItems this works in SOQL: [SELECT Id FROM FeedItem WHERE Parent.Type = :mySObjectType] But for FeedComment it is not a valid query: Didn't understand relationship 'Parent' in field path ...
2
votes
1answer
4k views

Query Chatter Feed, Topics, and Groups

First off, my end goal is lofty and time-consuming, but we need metrics and this is the best way to do it (that I can think of). Originally, a chatter post was created on the quote, case, or where ...
0
votes
1answer
130 views

Update feeditem createddate once it has been inserted

I have a feeditem record which his displayed in the UI of a popup in a customized salesforce page. I want to edit this date. But from what I read, it is not possilble to edit the createddate for ...
0
votes
0answers
694 views

Salesforce Social Customer Service: “reply” link in Social Post is not working

I have enabled Social Customer Service and installed starter pack. I created one facebook page and added that page in SOCIAL ACCOUNTS under social customer service settings. When a user posts ...
0
votes
1answer
76 views

Createddate not showing as editable in UI

I am trying to change the createddate of a feeditem object using input from the user. What is happening is that, it is working perfectly for System Administrator profile, however for any other profile,...
0
votes
1answer
1k views

FeedComment trigger - update parent case when chatter post receives a reply

I am planning to implement this trigger on the FeedComment object, as this object is not available for use via Lightning Process Builder. I'm looking to update the case when a certain type of user (...
0
votes
2answers
544 views

Salesforce Chatter import contentdata feed using dataloader

I am trying to insert contentdata (e.g. pdf present on my local computer) as feedcomment or post in a group. but i am not able to do it. con anyone suggest how to do it? I am new to salesforce.
2
votes
0answers
125 views

FeedComment insertion does not generate Chatter email

I was able to create an automated FeedItem trigger that fires and automatically replies (from a dummy user) to a user when he/she makes posting. I did not get the typical "commented on your post" ...
0
votes
1answer
80 views

Chatter Threads not shown in debug logs

I've been developing an OOO auto-reply for my org so that when, for example, user A @mentions user B (who is on vacation) - user A will get auto chatter response from user B that he/she is on vacation....
1
vote
2answers
2k views

Email to record Followers on every post or comment to the record

I am not getting any chatter notification when I follow a record and if someone post or Comment to the chatter feed on the record. Only when someone mentions (@User) then getting the notification or ...
0
votes
1answer
110 views

I need To Update Accounts Fields when user Post Comment From chatter post

I need to write trigger when user Post comment from chatter Post, Update the Accounts field Subject__c with chatter comments.For that I wrote a trigger but It is not working. I am new to salesforce. ...
0
votes
2answers
286 views

Is there anyway to post feedcomment dynamically

Is there anyway to post a feed comment dynamically for the particular feeditems in visualforce? Please help!
1
vote
1answer
259 views

How can you ensure a feedcomment trigger only applies for cases?

I apologize if this is turns out to be ridiculously easy. I've managed to configure a feedcomment trigger that behaves as desired except for a big point: we need it to either: - Only apply within ...
0
votes
1answer
516 views

Chatter Rest API limit on comments?

I am trying to use the Chatter rest API to get the comments of a FeedItem from the chatter feed. It all appears to be working OK except there appears to be a limitation on the amount of comments I get ...
2
votes
1answer
1k views

Mass export files from Chatter Feed and Chatter Comments

How to mass export files from chatter feed and chatter comments.I looked into the reviews of file exporter app but it looks like it is not supporting chatter attachments.Is there any other way to ...
1
vote
2answers
2k views

Chatter Comment Feeds - or Hashtags - Reporting

I have a Case system in place for handling "Salesforce and Other Requests" in our company. People submit Cases, they get handled and closed. For both "fairness" purposes (a Case is meant for ...
2
votes
0answers
135 views

How to select CaseComment with all comments under it

When you add a CaseComment it shows in Feeds section on salesforce UI You can comment under a CaseComment . I can't select CaseComment(this is a CaseComment 1) with all comments under it(...
4
votes
1answer
3k views

“FeedItem requires a filter by Id” exception despite filtering by ID

A client is getting an exception whenever they insert a FeedComment in their org. There is a trigger on FeedComment (api 25.0) which calls a static method in a class (api 26.0) to get a list of ...