• devforce13
  • NEWBIE
  • 15 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,

 

I'm getting the following error: Implementation restriction: FeedItem requires a filter by Id.

For custom standard user profiles.

For system admin i'm not getting this error.

 

Following is the code that i"ve implemented:

 

public List<FeedItem> getChatterCount() {

return [select id from FeedItem where parentID =: ApexPages.currentPage().getParameters().get('id')];
}

 

Pls. suggest

 

Thanks,

Neha G Patel