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
Synthia BeauvaisSynthia Beauvais 

Visualforce Page for Activity History & Chatter Post on Opportunities

How difficult would it be to create a Visualforce page that will show activity history and Chatter post on an Opporutnity? 
@Karanraj@Karanraj
Yes, you can include the chatter feed for the particular record using the chatter:feed visualforce tag. In the entity Id attribute, you need to pass the id of the record.
<chatter:feed entityId="{!Account.ID}" />

For displaying the activity history, If you are using the standard controller in your visualforce page you can display using the <apex:relatedList list="MyChildObjects__r" /> else you have to build the page block table and retrieve the related record information in your apex controller class. Check this blog post for the code sample to display the related list in the visualforce page. http://salesforcesource.blogspot.ca/2008/10/how-to-create-custom-related-list-on.html
 
Synthia BeauvaisSynthia Beauvais
Thank you Karanrajs