Questions tagged [feedcomment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

is there anyway to get unread FeedComment

I'm making chatter for mobile using Chatter Rest API, and want to count unread FeedComment by logging in user. Feed Comments have readBy capability to count unread item but only for FeedItem. please ...
0
votes
1answer
146 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 ...
1
vote
0answers
26 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 ...
0
votes
0answers
79 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.&...
2
votes
1answer
204 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 ...
1
vote
0answers
30 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)...
1
vote
1answer
117 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 ...
-1
votes
1answer
108 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
133 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
201 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 ...
4
votes
1answer
142 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 ...
2
votes
1answer
861 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
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 ...
6
votes
2answers
9k 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
191 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
996 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
174 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
2k 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
703 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
145 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
117 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
3k 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
134 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
345 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
335 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
583 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
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 ...
1
vote
2answers
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 ...
2
votes
0answers
153 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(...
5
votes
1answer
5k 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 ...