function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Swamy P R NSwamy P R N 

How to get the chatter feed data in visualforce page from apex

Hi Buddies,

I have a requirement like i want to display all the chatter feed for a record in visualforce page. Mainly it is for to take the printout, so can anybody suggest me how to get the data in visualforce page and how to show it in print-out.
Raghu Reddy 14Raghu Reddy 14

You ca use following component in your vf page. And you can covert that page to pdf to display and to take print out.

<chatter:feedWithFollowers entityId="{!}">