The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
24 views

Upload File (image/audio/video) to FeedItem in chunks

​public static String upload(String folderId, String documentId, String fileName, String base64BlobValue) { if(documentId == '' || documentId == null) { Document document = new ...
0
votes
1answer
14 views

Chatter Event without a Related To Onto the User's page

I have a trigger that collects Events without a related to and pushes them to a Future Method class - because events added via outlook don't have a WhatId! - and then publishes a Chatter post on the ...
0
votes
0answers
15 views

How to migrate Chatter posts assigned to each existing case

Can anyone help me out with how to migrate Chatter posts assigned to each existing case from one org to other. Thanks In advance
2
votes
1answer
49 views

Test coverage for FeedItem

I'm trying to get my test coverage up and I'm having a few problems to get it done. I have a trigger that will call a class every time a user inserts or updates an event. If that event contains an ...
2
votes
0answers
27 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
10 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 ...
0
votes
1answer
28 views

Inserting Feed-Item with Attachment for Community

I am trying to inserting Feed-Item with Attachment in Production and in Sandbox separately for community users. Community is active and my customer profile is added to the community. I know that I ...
1
vote
1answer
16 views

upload documents to case feed in batch

I have several documents that need to be upload as case feed items to their cases. Since I have 1000 such documents I would like to know if there is a way I can automate this task
0
votes
1answer
64 views

Trigger on Attachment to insert FeedItem

I have been trying to get a trigger to fire when a new attachment is inserted (After insert), the ParentId is Event for that attachment, and the Event is related to an Account. So, if anyone inserts ...
1
vote
1answer
68 views

One Class to control all Trigger. - Dispatcher

I'm having some problems when trying to make a number of classes and triggers to run on a dispatcher class. The components for this architecture are the following: One -TriggerDispatcher class. ...
0
votes
0answers
56 views

Testing FeedItem with NetworkScope

I'm testing the insert of a FeedItem (with a ContentPost), however, I keep getting an exception: List<FeedItem> feedItems = new List<FeedItem>(); for (SObject so : ...
0
votes
2answers
86 views

EXCEPTION: System.SObjectException: Field is not writeable: FeedItem.Visibility

I´m trying to update the visibility for feed items: for (FeedItem FI: [SELECT id FROM FeedItem where Type = 'LinkPost' order by createddate desc]){ FI.visibility='InternalUsers'; } I get ...
1
vote
1answer
40 views

@mentions for given feeditem id through soql

Is it possible to get details about @mentioned in feeditem body through soql. REST API and Connect API are available, but not able to locate any standard object which has this information. Please ...
0
votes
0answers
64 views

Copying feed items from opportunity to related account

I am trying to copy feeds from an opportunity to it's related account and I it doesn't seems to be so easy. :) feed is a complex object as can be seen here so basically I want to copy also the ...
0
votes
2answers
46 views

Post Chatter on Field Change on Update

Can someone help me nail the syntax on chattering on a field update? trigger ChatterCoverageUpdate on Account (before update) { List<FeedItem> feedItems = new List<FeedItem>(); for ( ...
2
votes
2answers
112 views

FeedItem to record with multiple @mention

I am trying to achieve feed item to record with multiple @ mentions when status of record goes to Complete.Here is the sample code which creates a feed item to record with single @ mention. ...
2
votes
2answers
125 views

How to use Blob inside a Trigger (BLOB is not a valid UTF-8 string)?

I am writing a trigger to Insert a Image in a record which will be posted via feed string img; trigger will save if I define "img" has a String on line 3 & ...
1
vote
1answer
59 views

Post a Comment to Chatter as a Another User

I have this code working to post a FeedItem to Chatter: FeedItem post = new FeedItem(); post.ParentId = project.Id; post.Body = message; post.Type = 'TextPost'; post.CreatedById = ...
0
votes
0answers
32 views

How to share Chatter Question between groups?

I am adding feeds in a group, where Type : QuestionPost ParentId : Is id of one group The reason behind it is that if a particular group has some queries, this feed will have the answers populated in ...
2
votes
1answer
42 views

Feed migration for one custom object to other custom object

I need to migrate Feed data posted on records of custom object. I am able to migrate FeedItem, FeedLikes and FeedComments but not able to find how to migrate FeedLikes on comments postes on FeedItem ...
4
votes
2answers
77 views

Missing option to create feed item in UI (Sandbox)

We've enabled Chatter in a sandbox but we do not see the option to actually create a new feed item in the UI, even as an Admin. I can create them via Apex so I don't believe this is a permissions ...
0
votes
0answers
86 views

Get ID of FeedItem

I am using a trigger to get the content of the latest chatter post to send it to an external application, however I am having difficulty getting the ID of the FeedItem. post.Body returns the body of ...
0
votes
1answer
206 views

Compile Error: Loop must iterate over a collection type: SOBJECT:FeedItem

I am new to Apex and I have the following code to call a function each time a new Chatter post is created: public class MLPost { public static void MLPostCreate(FeedItem post) { for ...
0
votes
3answers
136 views

creating Chatter FeedItem with sites user

is it possible to create a chatter FeedItem with a sites user with public access, is there any workaround to get this done? I tried to insert it with "insert" and also with the ConnectApi but I got ...
2
votes
2answers
170 views

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 ...
0
votes
1answer
138 views

How to create a FeedItem with SOAP API?

I'm trying to fetch certain FeedItems and then save them. None of these two things I could achieve using Java and SOAP, but here I'll focus on only one, and that is saving. SOAP API version is 32.0, ...
1
vote
1answer
95 views

Post to a Chatter feed as a different user than the logged un user from a Trigger

I have a trigger that posts to a Project Object's feed and @mentions someone. The only problem is that I need to be able to post the message as another user, not the user who is logged in. How can I ...
0
votes
1answer
166 views

How to make reports of Feed item and Feed comment objects?

I want to make reports of fields in feed item and feed comment objects. I queried them in apex . Is there anyway to make their fields into reports. Thanks.
0
votes
2answers
75 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!
3
votes
2answers
95 views

Which object holds the “follow” details?

I am wondering which object holds the details of "follow". When i click the follow link in Account detail page I understand we can follow the record changes. Based on that understanding i have ...
0
votes
1answer
38 views

Creating two attachments in a single chatter feed item. Is that possible?

I am trying to create a chatter feed item through batch process which would have two attachments. Canvas PDF file In the documentation the attachment parameter for the method, ...
0
votes
1answer
368 views

Combining Link Post and Content Post as a single Chatter feed item. Is that possible?

I am wondering is that possible to create a chatter feed item that is the combination of Link post as well as Content post. Moreover, if that is possible what could be the ContentData. I am assuming ...
0
votes
1answer
130 views

How to display a canvas as a chatter feed item?

I am using the Heroku sample canvas app as given in the documentation and try to set it as a chatter feed item as per the documentation. Once after the setup, i am trying to see the canvas in the ...
1
vote
1answer
134 views

Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, Entity is read-only: FeedItem: []

I am trying to create a feed item programmatically and got the following error. Actually the code is inside a webservice and the webservice would be called from SAP system. For that i created a ...
0
votes
1answer
258 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
172 views

How to refer one chatter:feed component for two custom objects in a page?

Could you please suggest on this? Requirement is to create a "News Feed" page for records from two custom objects. I am able to use a component to get the feeds for records from one object but ...
4
votes
3answers
388 views

Delete chatter post on Account after Lead gets converted

When we convert the lead automatic chatter feed appears on Account. UserName converted a lead to this account.I have chatter feed enabled on Lead and Account.Is there an option to prevent this post ...
0
votes
1answer
107 views

Leverage CreateRecordEvent FeedItem on unrelated Object

I am trying to determine whether it is possible to display the "compact layout" of a record in the Chatter Feed of another object type. I know that it is possible when the two objects are related via ...
2
votes
1answer
237 views

Ideas regarding FeedItem trigger

trigger feeditemnofication on FeedItem (after update,after insert) { for (feeditem F : Trigger.new) { if(Trigger.isInsert) { feeditem EE = [Select ...
3
votes
0answers
253 views

Custom Buttons on Feed Views

Does anyone know why the custom buttons on the new Feed View Layouts released in Spring '14 all collapse into one button when viewed on the left panel or right panel? It is such weird behaviour. ...
2
votes
1answer
359 views

How to add Topics names containing spaces to FeedItem using hashtag via apex

I have written some apex to 'auto-tag' a record to a Topic if that topic keyword is mentioned in one of the description fields for said record. This will ensure that anyone who follows that topic ...
2
votes
1answer
768 views

Trigger - update Case field based on FeedItem

Apex newbie quest continues. When new Chatter comment is added to Case, custom field on Case should be populated with information from latest Chatter comment. Currently I have developed a 'before ...
2
votes
0answers
172 views

How to customize UI display of an ItemFeed in the Chatter Feed?

I'm trying to customize the way Chatter displays items in the Chatter Feed but I'm not sure it's even possible. By default, it seem that SF is using his own rendering method depending on FeedItem ...
3
votes
1answer
331 views

Displaying image from custom object in Chatter Feed thru Apex

I have a custom object (badge) , it has a imageUrl field which is the public url for the image. I have a formula field called Thumbnail which uses IMAGE function to use the imageUrl to display the ...
2
votes
1answer
445 views

Is it possible to to add custom fields to FeedItem object?

Is it possible to to add custom fields to FeedItem object? Also where can I see the object and its fields (apart from documentation) inside salesforce platform.
2
votes
1answer
243 views

Do 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 ...
1
vote
1answer
420 views

Can you make a Chatter FeedItem look like a standard Chatter Publisher Action post?

I am creating a Publisher Action that uses a visualforce page and controller. All it essentially does is create an Attachment and insert it, but it works a little bit different from the default ...
1
vote
1answer
240 views

Formatting Chatter FeedItem (With Html?)

Is there any way to format a Chatter FeedItem. With html, or with apex methods? I want to be able to create a feedItem that looks like this Sample Chatter Post
2
votes
1answer
399 views

What is the difference between Feeditem object and object specific feed object?

Forif I say Task, there will be taskfeed as well as feeditem object having the same entry for one chatter feed for a task. what is the diference between these two?
1
vote
1answer
141 views

Trigger To Retrieve Change in User Chatter Status

One of the code recipes for Chatter allows/suggests you can monitor User status changes via a trigger (Recipe 12 shown here). The field "CurrentStatus" on User was deprecated in API v25 however and ...