You need to sign in to do that
Don't have an account?
Pathikrit
Controlling Feed Tracked Items
Hi,
Is there any way to control the Feed Tracking entries populated by Chatter?
Allow me to elaborate my problem. At the moment, when we have Feed Tracking in a custom object (say Test__c) for a field (FieldName__c) , when there is a change in the field value, it posts a Feed in Chatter saying 'FieldName changed from X to Y'. I wanted to customize this message if possible.
While Chatter Triggers on FeedItem would allow me control messages entered by users manually I couldn't find a way to control this feed.
Is there any way to do this? If not, do you have any workaround for this which might work?
Thanks!
Is there any way to control the Feed Tracking entries populated by Chatter?
Allow me to elaborate my problem. At the moment, when we have Feed Tracking in a custom object (say Test__c) for a field (FieldName__c) , when there is a change in the field value, it posts a Feed in Chatter saying 'FieldName changed from X to Y'. I wanted to customize this message if possible.
While Chatter Triggers on FeedItem would allow me control messages entered by users manually I couldn't find a way to control this feed.
Is there any way to do this? If not, do you have any workaround for this which might work?
Thanks!
All Answers
This is possible using trigger. Suggested solution would be to write a trigger on Custom object (after inser,after update) to post a feed.
FeedItem object should be used to post a update.
this link would be useful. http://salesforce.stackexchange.com/questions/49591/create-chatter-post-and-mention-user-in-trigger .
Regards,
Ram
Thanks for your suggestions. In fact I did try that by having a trigger on the custom object and having them insert a new FeedItem to the same parentId. But having a trigger on custom object can only let you insert a new feed rather than modifying the feed entered by Chatter.
I meant to modify that feed. Sorry if I was not clear earlier.
Thanks