Quantcast
Channel: Active questions tagged feeditem - Salesforce Stack Exchange
Browsing latest articles
Browse All 160 View Live
↧

Insert ContentDocumentLinks for Chatter Content Posts

We have a set of ContentVersion records that have been inserted by users via a FeedItem post. Unfortunately because Chatter groups has many functional limitations we have to migrate these files to...

View Article


How to attach file to Feed Item in SOAP API v36

Can someone give me an example of how to attach a file to Lead using FeedItem in SOAP for version 36 since ContentData and ContentFileName fields are obsolete? My previous code was FeedItem post = new...

View Article


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. There...

View Article

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 post...

View Article

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...

View Article


How to detect user is using Experience Cloud/Community Portal during while...

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 also...

View Article

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,Opportunity...

View Article

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 FeedItem...

View Article


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 to...

View Article


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...

View Article

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. From...

View Article

--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article

--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article


Retrieve UserId of @mention user from chatter post in Apex

Is there a way to retrieve the user id of @mention user from chatter post in Apex? We can write a before insert trigger on feeditem, but when we display the body (which has @mention user) it simply...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


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?

View Article

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

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

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?

View Article

Image may be NSFW.
Clik here to view.

Masking sensitive info in EmailToCase feed

I have written apex trigger codes on both Case and EmailMessage objects, which are both fired by before insert events. They run pattern and matcher classes to block several possible formats of a credit...

View Article

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?...

View Article


A user create a record in FeedItem using lwc (experiencecloud) but he cannot...

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?

View Article


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 a...

View Article

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...

View Article

Image may be NSFW.
Clik here to view.

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?

View Article


Image may be NSFW.
Clik here to view.

How to @mention when creating a FeedItem record via Flow?

I am having an issue when trying to create a FeedItem record via Flow, where I need to @mention the full name of the OwnerId of the Lead record which triggered the flow. However, when the FeedItem post...

View Article

Only Trigger Apex when File is not uploaded via chatter feed on Case

I have an apex trigger that creates a Chatter post on a case when a file is uploaded to that case. The code is working perfectly fine, the issue is I want to be able to restrict this code to only run...

View Article

Salesforce Sites - FeedItem requires a filter by Id

I get an error message when I try to do a Javascript Remote soql query on FeedItems through "sites". It works perfect when I do this within salesforce with a standard user but it doesn't work through...

View Article

Image may be NSFW.
Clik here to view.

Add custom component into specific feed tab

Issue:I have a custom aura component and I want to add that or show that only when Email tab is clicked.The orange color box is my custom component and i added that into feed.but now its displaying...

View Article



Connect Api feedItem is not posting for the experience cloud users

I am trying to create a feedItemPost via code below and I want this feed to be visible across all experience sites within the org as well as on backend SF on the Case record. But it is not working out....

View Article
Browsing latest articles
Browse All 160 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>