Print this page

"Implementation Restriction: FeedItem requires a filter by ID" error using Force.com IDE

Knowledge Article Number 000002575
Resolution

"Implementation Restriction: FeedItem requires a filter by ID" happens when a developer attempts to write code where they aren't explicitly querying for the items through their parent feed item, such as AccountFeed.

As of API Version 23 it's possible to directly query FeedItem records without using the ParentID of the parent feed item (such as OpportunityFeed).

However, the latest current version of the Force.com IDE or Eclipse with the Force.com plugin supports up to version 22.

In order to access FeedItem without the ParentID there are a number of workarounds :

  • Write the code in the Salesforce UI
  • Write the code in the IDE with the relevant code commented out, then uncomment the code and change the API version to 23 in the Salesforce UI




promote demote