I have been tasked with replicating the Chatter tab for Contact List Views. For any list view, I have to get the Feed Items for the last 30 days just like in the standard functionality.

What's frustrating is that there are some chatter components that come with styles "out of the box", like chatter:feed, chatter:feedWithFollowers, etc. However, with these components, you have to specify an entityId, and I would need multiple entityIds (every Contact within the current ListView).

Is there really no other way to do this than getting a list of FeedItem objects in the controller where ParentId = ContactIds, then trying to replicate the complex Salesforce styles by outputting these in the Visualforce page?

  • How did you end up handling this? Did you replicate the HTML and hope it doesn't change it the future?
    – Phil B
    Commented Jul 24, 2013 at 14:32

1 Answer 1


the standard <chatter> VF elements are limited to 1/page.

We've done something similar by using an iFrame for each component, this is really bad practice though.

I'd say you need to write custom APEX/VF to query all the feeds and display them instead of using the VF components.

  • How would you replicate the styling of the feed? Would you have to actually copy the HTML a normal chatter feed renders?
    – Phil B
    Commented Jul 24, 2013 at 13:28
  • it's very very complicated...the - you essentially have to copy the HTML and styling yes. it was horrible and they change it without warning. Commented Jul 24, 2013 at 16:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .