Quantcast
Channel: Active questions tagged feeditem+chatter+trigger - Salesforce Stack Exchange
Browsing all 13 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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

View Article



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

View Article

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

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

View Article

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 (FeedItem p :...

View Article

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

View Article


FeedItem Trigger - Parse Mentions?

There are many questions out the about how to add @mentions to a chatter post, but this question is the other way around: How do I read @mentions from a FeedItem in the trigger context? I need to be...

View Article

How can I execute code when an object is created through the chatter feed?

When a record is created from the chatter feed, it creates a FeedItem, but this FeedItem won't execute the trigger. Is there a setting to allow the trigger to execute? If not, is there another way to...

View Article

Trigger when record has updated after chatter post through feeditem class to...

A MAIN GOAL : TO ALARM ON EACH USERS IN A GROUP FOR RECORD UPDATE (NO PLATFORM EVENTS) API 44 or higher Hello i want to post a article to chatter group members, but i tried to put group id to the...

View Article


Invoking trigger when an answer is marked as Best Answer in Chatter

I am trying to invoke a trigger when an answer is marked as 'Best Answer' in Chatter Question. I tried a trigger on FeedItem and FeedComment objects, but the triggers were not invoked when I mark an...

View Article


Record feed doesn't update on Event creation via trigger

I'm trying to get the record feed of my leads to update when I create an event with an after update trigger, it's not working. When I create the event manually the feed gets updated, but not when it's...

View Article

Image may be NSFW.
Clik here to view.

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

View Article

Disable Feed email notifications for community

On my community I added Feed component and create custom email notifications wich are sent in FeedItemTrigger. The problem is I have to disable standard email notifications for users on this community...

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

Browsing all 13 articles
Browse latest View live




Latest Images