The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
35 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
13 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
41 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
67 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
27 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
27 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
36 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
62 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
58 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
133 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
103 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
115 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
101 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
83 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
111 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
65 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
81 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
35 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
292 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
101 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
114 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
223 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
157 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
337 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
95 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
177 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
229 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
326 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
622 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
147 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
298 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
335 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
196 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
365 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
208 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
285 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
127 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 ...
4
votes
1answer
801 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 ...
2
votes
1answer
256 views

How to add a hyperlink to the body of a feeditem with apex code

I want to add a hyperlink to the body of a feeditem with apex code. I tried to with class of EncodingUtil.urlEncode but it is not work. So I`d like to know how shall I do. Thx!
6
votes
1answer
712 views

How to mention a user in a Chatter Group in an Apex Trigger?

How to mention a user in a Chatter Group in an Apex Trigger? There are similar questions existing in SFSE but they all seem to have outdated answers using old cumbersome APIs. I believe the easiest ...
1
vote
0answers
170 views

Fetch more and append records using Data Repeater and pagination Site.com

I want to fetch more records and display the previous records along with newly fetched records using pagination. But the default behavior of pagination is to override previous with new one. Is there ...
6
votes
2answers
814 views

Migrating FeedComments and FeedItems

Due to a large data migration which involves moving records from one object to another, I am currently migrating Chatter feeds from one record to another. I am using a method which was told to me by ...
3
votes
1answer
340 views

FeedComment Parent relationship

I have triggers on FeedItem and FeedComment where I need to dynamically read a field on their respective Parents (ParentId). For FeedItem I can do (for example): FeedItem.Parent.get('Name'); But ...
4
votes
1answer
428 views

How to load feedItem?

I need to migrate feeditem data from my old org to new production. There are about 3,000,000 records (30 "lacks") in old org. Let me know is there any way to migrate it.
1
vote
0answers
74 views

chatter feeds: identify concrete system generated updates on accounts feed

I want to identify some chatter system generated updates (on accounts feed) which appear on screen with an specific title (i.e. You don't have permission to view this task) in order to be able to ...
3
votes
1answer
323 views

Custom Object record Post Options should be same as Chatter post feeds options Like for a Group or to my followers

With chatter Feed we can share the post to the created group. In my criteria, I need the same kind of procedure ( Options same as Chatter feed : To my Followers , A Group) that should be available in ...
0
votes
0answers
281 views

How the group can view the Standard and Custom object Chatter feed post?

In the screenshot no-1, we can post anything via chatter feed also we can able to share the post to Group which we created. Then all the group members can view the post. But in the screenshot no-2, ...
7
votes
2answers
777 views

Losing @ mentions in apex trigger on FeedItem

I have developped a apex trigger on FeedItem after insert. The purpose is to append an hashtag to the body of the post when certain criteria are met. Everything works very well except that any ...
4
votes
1answer
614 views

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

Force Show the latest Chatter Feed Item relating to a record

Not really a question but something cool that might belong here, we had a customer that has a round robin process for lead assignment driven by a button. We from there are calling a hidden Visualforce ...