Announcement is null when queried on feedItem Trigger
When i try to fetch announcements from feedItem trigger it returns null always, is there anything i'm missing trigger Email_Feed_Trigger on FeedItem (after insert) { Set<Id> myfeed=new...
View ArticleHow Content Document Should be Associated with Custom Object
I am trying to create File through ContentDocument . Once File is created want to associate with Custom Object Want to understand what is best way to associate File with Custom Object Use FeedItem...
View ArticleCan Chatter ConnectAPI be used to search chatter post feed only
Currently i am trying get chatter feed in visualforce page. I only want the feed which has a query string. But i want all the recent comments for the post. I couldn't find a visualforce tag to get the...
View ArticleInsert 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 ArticleHow 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 ArticleHow to add new picklist values in Feed Item Type, so that they can be...
I wanted to create a Feed Filter which can display only Tracked changes.But Tracked Change is not available in Feed Filter criteria. Is there any way to add that value under Feed Item Type.
View ArticleDo FeedItem Triggers fire on the case feed "send an email" action?
My organization has begun to use casefeed for cases and so far we've run into one problem: emails in the case feed sent by technicians to customers appear in the case feed, but do not get exposed to...
View ArticleHow to link to SObject within Case Feed in console-friendly fashion?
I have a requirement to add a link from one case to another within the case feed. This will happen from a future method called from trigger context, so it should be bulk safe. For this reason, I'd...
View ArticleCan not insert FeedItem through apexrest
When trying to create a FeedItem through the ApexRest I'm always getting the following error: [{"errorCode":"APEX_ERROR","message":"System.DmlException: Insert failed. First exception on row 0; first...
View ArticleWhich Type of FeedItem Records can I import?
I am facing a SF to SF migration and despite all efforts to avoid it, chatter posts have to be migrated as well. I wanted to know which types of chatter posts I am actually able to create via the API...
View ArticleRemove 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 ArticleEmail Message on Case Feed - Is it Possible To Show the "From" Address Not...
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...
View ArticleHow 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 be...
View ArticleAccess 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...
View ArticleRelationship between FeedItem and EmailMessage [closed]
I need to create custom component to Show Feeds on Case, I need to manage EmailMessageEvent, I have looked on and found that All Emails are stored in EmailMessage object and all feeds stored in...
View ArticleDisplay 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...
View ArticleHow 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 ) {...
View ArticleUpdate FeedItem Body
I have very simple version of a class that needs to update body of FeedItem as part of a test class. updateFeed() is throwing this error message: "System.SObjectException: Field is not writeable:...
View ArticleCommunity Feed Component Icon Urls are Broken
When on my Salesforce Community Site Some of my icon links are broken in the "Feed" Component.See Picture Below: The Weirdest thing is that the URL its embedding is wrong. It seems to be duplicating...
View ArticleHow to Open LinkPost URL in SubTab Console?
I am able to create LinkPost feed item in case console://Adding a Link post FeedItem post = new FeedItem(); post.ParentId = cId; //case id post.Body = 'Enter post text here'; post.LinkUrl = '/' +...
View Article