Questions tagged [chatter-feed-tracking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15
votes
4answers
8k views

How can I add an @mention when creating a FeedItem via APEX?

I have found that this can be done via the Chatter API, and that there is a pilot program (http://developer.force.com/cookbook/recipe/connect-in-apex-pilot) to bring this to APEX, but I am not ...
7
votes
2answers
2k views

Enable or check Chatter Feed Tracking programatically

Is there any way to enable Chatter Feed Tracking programatically for a object in salesforce.com? If not, it is possible to detect if an object is chatter enabled?
4
votes
1answer
578 views

how to update a field if user follows a record

My use case is to find total followers on a particular record So when somebody follows/unfollows that record i would like to update the number of followers of that particular record .stored as a ...
2
votes
1answer
2k views

What is the difference between trackHistory and trackFeedHistory?

If we look at the XML for a specific Object and inspect a random field, there is both trackHistory and trackFeedHistory <fields> <fullName>AccountId</fullName> <trackHistory&...
2
votes
2answers
912 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY when subscribing role members to a record

I created a trigger that on a record creation (Custom sObject), subscribes all the createdBy role members to the record. This code seems to work just fine when executed by a sys admin, but it throws ...