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
KVaishnaKVaishna 

Query Chatter Group Feeds

Hi,

 

I'm trying to search and display Chatter Group feed using following query but it's throwing error

 

'Didn't understand relationship 'FeedItem' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names'

 

Select FeedItem.Body, FeedItem.Title, FeedItem.Type From CollaborationGroupFeed u where parentid=''

 

same query is mentioned in Chatter Cheat Sheet.

 

How can I get it working?

 

Thanks & Regards

-Kunjan

ChrisOctagonChrisOctagon

Try removing "FeedItem." from the field references in your query.

vyshalivyshali

hello 

am trying to query the group feed.. but was unsuccesful.

can u plz help me out.. how to query the group.. so i can get the feeds of the group. 

waiting for the reply ASAP. plzz

thanks in advance. :) 

sapana.personal1.389616626807929E12sapana.personal1.389616626807929E12
Try this..
Select Body, Title, Type From CollaborationGroupFeed where parentid='0F9900000000jz0'

P.S. :- Here  '0F9900000000jz0' is ID of the chatter group created on my org.