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

Adding Chatter Feed to a visualforce page

I am currently in the process of integrating Chatter into a Sites visualforce page.  I am doing a query on my customobject__Feed object to show all of the posts on the page but thought it would be good to have the Chatter UI embedded inside the page.  Any ideas how I could do this?  I have attempted to use the apex relatedList tag and using 'customobject__Feed' as the list type (including many variations to this) but with no success.


Right now there is no 'tag' you can drop onto a Visualforce page, but you can emulate the same functionality. You need to create a Visualforce page using the standard controller of your 'Chatter-enabled' object. Then create a blank page layout for that object, and add the Visualforce page.  


Now when the page layout is displayed you have the show/hide Chatter section plus your Visualforce page :) I'm posting a blog/video on this approach in the next day or so if you still need more pointers.



James ACTJames ACT

I'm very interested in this video when you get a chance to post it. Thanks!