You need to sign in to do that
Don't have an account?
MrHammy
Visualforce chatter group feed on a VF page
I want to build a view of a chatter group to put inside a VF page, I feel i am missing something fundamental, I just can see what
I can get the elements
and then call it on a visualforce page
But all i show is /services/data/v32.0/connect/communities/0DBC0000000CdsLOAS/chatter/feeds/record/0F9M00000009NEfKAM/feed-elements. If i just show !x i get all the elements
I can get the elements
global ConnectApi.FeedElementPage getFeedItems() { System.Debug('>>>>>>group id ' + groupId ) ; System.Debug('>>>>>>community id ' + communityId) ; ConnectApi.FeedElementPage items = ConnectApi.ChatterFeeds.getFeedElementsFromFeed(communityId , ConnectApi.FeedType.Record , groupId); return items; }
and then call it on a visualforce page
<apex:repeat value="{!feedItems}" var="x"> <div> <apex:outputPanel > {!x.currentPageUrl} </apex:outputPanel> </div> </apex:repeat>
But all i show is /services/data/v32.0/connect/communities/0DBC0000000CdsLOAS/chatter/feeds/record/0F9M00000009NEfKAM/feed-elements. If i just show !x i get all the elements
The approach you are taking will require you to do a lot of development on the VF side in order to present the feeds. If you are ok with just showing the chatter group feed using the core SF UI, you could just do the following on the VF page.
Hope that helps!