You need to sign in to do that
Don't have an account?
Record Feed name for custom objects
I have custom objects in my application.
My Dev ORG is chatter enabled and I have enabled Feed track changes on fields of these objects.
According to Chatter cheat sheet, a custom object Foo__c will have a record feed named Foo_Feed__c.
For the following code (from Chatter Recipe)
public List<MyCustom_Feed__c> getRecipeNineFeedTrackedChanges() {
List<MyCustom_Feed__c> af = [Select id, Parent.Name,
(SELECT Id, FieldName, NewValue,OldValue FROM FeedTrackedChanges)
from MyCustom_Feed__c LIMIT 100];
...
}
I get the following compile error:
Error: Compile Error: sObject type 'MyCustom_Feed__c' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name.
Any ideas on what is wrong here?
This is an error in the cheat sheet. The feed object for a custom object Foo__c is Foo__Feed NOT Foo_Feed__c.