Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [feeditem]

FeedItem represents an entry in the feed, such as changes in a record feed, including text posts, link posts, and content posts.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
144 views

Remove comment from Chatter post

I would like to remove the option to comment on the post made in the Chatter feed. Does anyone know if it is possible and how to do it?
MoLim's user avatar
  • 1
1 vote
1 answer
62 views

Error during saving FeedItem with type ContentPost using API above 35

I am trying to save FeedItem with attachments. In that case I set type of FeedItem to ContentPost. During saving FeedItem I am getting 2 errors of FIELD_INTEGRITY_EXCEPTION type: ContentFileName is a ...
Mateusz Hernik's user avatar
0 votes
1 answer
36 views

Not getting RecordId on feedItem component in Aura!

I am new to salesforce and started learning it a few days back, here am trying to make develop a community and I developed one but getting a few 2 bugs that I need to resolve. In my community I have ...
Abhishek Kumar's user avatar
-1 votes
1 answer
62 views

A user create a record in FeedItem using lwc (experiencecloud) but he cannot able to view the records in Exp cloud site. but admin can, how solve this

A user can create a record in FeedItem using lwc but he cannot able to view the records in Experiencecloud site. How to solve this issue?
Deepa's user avatar
  • 1
0 votes
0 answers
42 views

Accessing feed item object for customer commuity users

I'm using the feed item object in my community lwr site but my customer profile has no access for that object how can i manage to give permissions to create and view posts. But i couldn't find the ...
aravind arvi's user avatar
-1 votes
1 answer
140 views

Emails and Notification are not triggered after creating FeedItem record in Apex

After creating a FeedItem record in Apex, emails and notifications are not triggered to the person who had created the chatter FeedItem. So do I need to create a custom notification and email for this?...
Pradhyuman Sharma's user avatar
0 votes
1 answer
192 views

Collaboration Groups not showing in the Community in Salesforce

I created a group with in salesforce which is a public group. I am able to see that group within salesforce but that group is not visible in community. Can someone tell me why it’s happening?
Nature Lovers's user avatar
0 votes
0 answers
41 views

Salesforce "Knowledgeable People" component not showing data in community salesforce

I have dragged the "Knowledgeable People" component on the topic detail page and configured it as per the guidelines given in the documentation. But the data is not getting shown in the ...
Nature Lovers's user avatar
0 votes
1 answer
133 views

How can I get the view count of the discussions(Feed Item) in apex in Salesforce?

I am building a custom component where I want to show discussions with the number of views on it. I checked the feeditem object but there is no field for view count. Is there some other object which ...
Nature Lovers's user avatar
0 votes
0 answers
62 views

Is there a way to get the share count of discussions in community salesforce?

I'm working on a component and need assistance with retrieving the share count of a FeedItem using Apex. I have explored the Salesforce documentation and resources but haven't been able to find a ...
Nature Lovers's user avatar
0 votes
1 answer
55 views

Use Specific Case Field to Create Chatter Feed Item

Currently I've noticed when a Chatter feed item gets created for a Case record, the Auto Number field is what the Post initially gets created with. We've got a separate Case Name field that is more ...
Developer Guy's user avatar
1 vote
1 answer
194 views

get user id in feeditem salesforce

Good morning, I have this trigger to try to retrieve the mention id of a user in a feeditem. I need to send a custom notification to the mentioned user and my trigger has the following error. Does ...
Karen's user avatar
  • 11
1 vote
2 answers
2k views

Is it possible to find ContentDocument and attach that file to a FeedItem through a flow?

I am trying to create a feeditem and trying to find a documentcontent file and attaching it to this feeditem through a flow. I think I can find the version of the contentdocument by looking at the ...
Hulk Buster's user avatar
2 votes
0 answers
880 views

How to determine if a given User can view a given FeedItem

I'm using the query API to retrieve User and FeedItem objects. I want to be able to determine which users can read/view which feed items. FeedItem has Visibility property, but it doesn't help much. ...
Mugen's user avatar
  • 121
1 vote
0 answers
151 views

Chatter Posts created from Apex not visible from Profile view

I am creating a chatter post (FeedItem) from a trigger on a custom object after update of that object. I want that post to be visible on the user's profile that I have specified in the ParentId. The ...
Jacob22's user avatar
  • 21
0 votes
1 answer
819 views

Is there a direct link between CaseComment and FeedItem records?

Trying to find a way to link FeedItem records to the CaseComment they are related to. Have a Lightning Component pulling in Case information, but failing to find a reliable way to relate the replies ...
Tim Hunter's user avatar
0 votes
0 answers
75 views

Cannot change Status of FeedItem in trigger

I have a simply spam classification logic in trigger which runs when a community user posts a post (FeedItem) in experience cloud sites (community sites). trigger FeedItem_Operation_Trigger on ...
AmanSharma's user avatar
0 votes
1 answer
402 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
1 vote
0 answers
382 views

How to detect user is using Experience Cloud/Community Portal during while posting through chatter feed?

I've very entry-level knowledge about Communities & Portal, correct me if my understanding is wrong. Scenario: Internal users can create Cases in the Org, on the other hand, external users can ...
Mehedi's user avatar
  • 409
2 votes
2 answers
360 views

How to change the 'Disable Feed Tracking' setting in a flow or Apex trigger?

Salesforce has a setting called 'Disable Feed Tracking' a.k.a. DisableFeedTrackingHeader. The Data Loader uses this setting to disable feed tracking when doing updates/inserts. I am using Microsoft ...
Sander de Jong's user avatar
1 vote
1 answer
690 views

Update record via Flow does not create a Feed Item

I have a Record Triggered flow on Account, of the type Fast Field Updates. This flow, amongst other things, updates the Type field. I have configured feed tracking for that field. I observe that the ...
Sander de Jong's user avatar
0 votes
1 answer
571 views

Preserving @mentions in the FeedItem trigger edit

I have written before insert trigger that concatenates Case Subject to the Chatter post when it is posted from the case record. But when I do that, @ mentions are getting stripped from the chatter ...
Akshay Vasu's user avatar
1 vote
1 answer
447 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
  • 17k
0 votes
1 answer
1k 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. ...
Akshay Vasu's user avatar
1 vote
1 answer
102 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, ...
arnaud's user avatar
  • 106
0 votes
1 answer
748 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
0 answers
28 views

How to get a hyperlink in the Post Body in Salesforce without using LInkURL? [duplicate]

As I am using this code to add a feeditem in the case. As it created a feeditem on the case but hyperLink is not working. In the documentation we got that isRichText supports the tag but in my ...
Manas Gupta's user avatar
1 vote
1 answer
511 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 ...
StevieP's user avatar
  • 151
0 votes
1 answer
610 views

How to notify users

I want to notify my users without any specific record related. Insert a FeedItem with the parentId set to the userId does not create the red notification in the top-right corner bell. Do I need to use ...
Gabriel Serrano Salas's user avatar
0 votes
1 answer
248 views

How can I change the FeedItem's sender?

In the case of the image, the user Alanna Clark updated an account and my trigger runned and posted the FeedItem. But I want to change the sender ("Alanna Clark") for another user called &...
Cline's user avatar
  • 143
1 vote
1 answer
471 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 ...
Sadistik's user avatar
0 votes
1 answer
896 views

How to find FeedItem where a ContentDocument is the RelatedRecordId

Given a ContentDocument, I need a way to use SOQL to find any FeedItems that the ContentDocument may be related to. I hoped that ContentDocumentLink would work, but that just seems to give me the case ...
Scott B's user avatar
  • 27
0 votes
1 answer
220 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 ...
Rahul Allada's user avatar
1 vote
0 answers
536 views

FeedItem Trigger is not executing

I have a trigger in FeedItem which needs to fire when an article is attached to the case. Here is the trigger: trigger FeedItemTrg on FeedItem (after insert, after update) { for (FeedItem fi : ...
Tamil's user avatar
  • 724
-1 votes
1 answer
208 views

SFDX Source Push: Invalid type: FeedItem

I am getting error: Invalid type: FeedItem When I run command: sfdx force:source:push Why won't it let me push that code into my scratch org?
Robs's user avatar
  • 9,356
2 votes
0 answers
526 views

'Enable Unread/Read on Compact Case Feed' feature impacting forceChatter:postCreated?

New feature: Enable Unread/Read on Compact Case Feed enabled in Support Settings from Winter '20 https://releasenotes.docs.salesforce.com/en-us/winter20/release-notes/rn_cases_unread_read_feed_items....
Monica Brie's user avatar
1 vote
1 answer
865 views

Opportunity Owner.Email returning null in Apex

I am trying to send emails to Opportunity owners when a portal user posts in chatter. But I can't seem to access the owner email from below Oppty query - it is returning null. However, when I query in ...
SF_newbie's user avatar
1 vote
0 answers
20 views

Is there any way to have a very lazy evaluation of Labels used in Salesforce Chatter messages?

I'm currently working for a company whose main language is German though they are an increasingly multilingual company. I have a requirement that when some event happens, notifications should be sent ...
Brian Kessler's user avatar
0 votes
2 answers
3k views

How to create a Case Feed Item when creating a Task

The documentation seems to say that when you create a Task or Event related to a Case then it will automatically create a FeedItem ActivityEvent—indirectly generated event when a user or the API ...
Robs's user avatar
  • 9,356
0 votes
1 answer
799 views

How get FeedItem with type TrackedChange

when i execute this: Account acc = new Account(Name = 'newTest1',Phone = '+4444444444'); insert acc; acc.Name = 'ChangedTestAnonimusAcc'; acc.Phone = '+55555555555'; update acc; List<FeedItem> ...
Noker's user avatar
  • 57
0 votes
1 answer
643 views

Unable to set isRichText to true with Flow

I have a flow that copy a Chatter post to the chatter of a related record. The issue is that there are unwanted html tags added to the chatter of the related records: I try to update the record ...
chloe's user avatar
  • 243
0 votes
1 answer
395 views

Customer user cannot create chatter post on a community group

I have an issue when I try create a post from an apex class, the user is a customer community user and I create the post from a Lightning community ConnectApi.ChatterFeeds.postFeedElement(Network....
MatteoL's user avatar
0 votes
0 answers
115 views

inputRichText removing alt and title attribute and showing title null after post

I am creating Feed Posts using a custom component in which I have used lightning:inputRichText But it is removing alt and title attributes from the anchor tag. And if I am not passing the alt and ...
dinesh.kumar's user avatar
0 votes
0 answers
60 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 ...
Aravind kumar's user avatar
1 vote
2 answers
897 views

How to access Owner of Parent Record of FeedItem

I am trying to send emails to the owners of cases when people post to the case feed. Traversing up through parent records seems to have some strange functionality: for(FeedItem FI : FeedItems ) { ...
number41's user avatar
  • 958
0 votes
1 answer
569 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 ...
gkolan's user avatar
  • 113
1 vote
1 answer
410 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 ...
AusNC's user avatar
  • 13
1 vote
1 answer
960 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 ...
Krishna Bidwai's user avatar
1 vote
0 answers
797 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 ...
Edwin Schaeffer's user avatar
1 vote
0 answers
220 views

Remove email Updates on Case Feed

I have an email action on case. When a user sends an email, the details about the email are displayed in the Feed. I would like to remove the details from the feed. Is it possible?
Amira's user avatar
  • 36