Questions tagged [feedcomment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
161 views

Trigger to update Case Status if Status = Waiting on Internal and gets a new FeedComment

I have this block of code to update case status when we receive a new FeedComment on a case. But I want to update it to only update if the case has a status of "Waiting on Internal" or "...
Cella Mcgowan's user avatar
0 votes
1 answer
352 views

Apex Trigger to Update Feed Comment

I am new to Apex Triggers. I have a checkbox field in Opportunity called "Opportunity Approved?". Currently as soon as user selects the checkbox, its adding a feed comment like this, ...
Kirti Jha's user avatar
0 votes
1 answer
1k views

Add Validation Error

I need to throw an error to the user when he tries to post/comment on case whose status is Closed - Resolved. I've tried to implement that and when I try to comment on a case the trigger is failing ...
newbie0007's user avatar
1 vote
1 answer
345 views

Workaround of Misleading error "The configuration of your org has changed, please reload the page. Missing dependent object: SObject: Settings__Feed"?

Back in September the 23th 2021 I have opened a case in Salesforce Support about the issue on our project "The configuration of your org has changed, please reload the page. Missing dependent ...
Patlatus's user avatar
  • 16k
0 votes
1 answer
629 views

Get FeedItem and TopicAssignment details from FeedComment

I'm trying to build a query which would get all comments and the Topics assigned to the FeedItem they belong to but looks like I have hit a snag. This is what I'm trying right now --> SELECT Id, ...
Maverick's user avatar
0 votes
1 answer
1k views

Pass the recordId with Apex Trigger

I am writing my first apex trigger to call a flow after a comment is created in the chatter. I am having trouble sending the recordId of the FeedComment to the flow. It should be assigned to the ...
Briangt's user avatar
1 vote
0 answers
30 views

Getting field-level security without apex coding in SalesforceMobileSDK

By declaring the Apex Class with sharing keyword, non-admin user can select or edit field-level security. How can i able to do this in mobile application only using SalesforceMobileSDK without ...
hhtk12's user avatar
  • 21
1 vote
1 answer
417 views

Getting FeedComment Post's Data

While using community user to query FeedComment, I get following error: "Implementation restriction: directly querying FeedComment is only supported for admin users in version 23.0 and higher.&...
hhtk12's user avatar
  • 21
2 votes
1 answer
498 views

In Salesforce Classic, Contentversion Triggers not firing on files uploaded through chatter comments?

We are currently attempting to restrict which files can be globally uploaded in our org using information present on the ContentVersion / Attachment objects. However, in the case of files uploaded ...
junie adlawan's user avatar
1 vote
0 answers
46 views

Using REST API to find a community user's last activity (question or comment)

I'm very new to Salesforce and trying to use the REST API to find which users were active on a community on a particular day. For example, which users posted a question or an answer today (Aug-14-2020)...
Mark Ireland's user avatar
1 vote
1 answer
154 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 ...
A_Elric's user avatar
  • 127
-1 votes
1 answer
197 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,...
Rijia's user avatar
  • 19
1 vote
1 answer
224 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....
yeselkay's user avatar
  • 321
0 votes
0 answers
372 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 ...
yeselkay's user avatar
  • 321
4 votes
1 answer
193 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 ...
yeselkay's user avatar
  • 321
2 votes
1 answer
2k 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 ...
Tyler Zika's user avatar
  • 2,818
3 votes
2 answers
2k 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 ...
itsmebasti's user avatar
  • 6,359
7 votes
2 answers
14k 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 ...
Grant's user avatar
  • 320
0 votes
1 answer
394 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 ...
Rimii's user avatar
  • 371
0 votes
0 answers
1k 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 ...
Santanu Halder's user avatar
0 votes
1 answer
362 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,...
Rimii's user avatar
  • 371
1 vote
1 answer
3k 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 (...
tchock's user avatar
  • 81
0 votes
2 answers
901 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.
user1037452's user avatar
2 votes
0 answers
186 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" ...
Eric Luu's user avatar
  • 890
0 votes
1 answer
194 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....
Eric Luu's user avatar
  • 890
1 vote
2 answers
4k 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 ...
sfdc's user avatar
  • 13.6k
0 votes
1 answer
177 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. ...
SFDC 44's user avatar
  • 664
0 votes
2 answers
450 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!
user3332076's user avatar
1 vote
1 answer
383 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 ...
JF Girard's user avatar
0 votes
1 answer
635 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 ...
Donal Rafferty's user avatar
2 votes
2 answers
2k 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 ...
sfdc's user avatar
  • 13.6k
1 vote
2 answers
3k 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 ...
AMM's user avatar
  • 4,674
2 votes
0 answers
220 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(...
frank's user avatar
  • 31
5 votes
1 answer
6k 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 ...
George S.'s user avatar
  • 2,720