Tell me more ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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?

share|improve this question

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.