Questions tagged [feedcomment]
The feedcomment tag has no usage guidance.
34
questions
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 "...
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,
...
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 ...
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 ...
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, ...
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 ...
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 ...
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.&...
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 ...
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)...
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 ...
-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,...
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....
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 ...
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 ...
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 ...
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
...
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 ...
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 ...
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 ...
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,...
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 (...
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.
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" ...
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....
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 ...
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. ...
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!
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 ...
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 ...
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 ...
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 ...
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(...
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 ...