Quantcast
Channel: Active questions tagged feeditem+apex+soql - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 5

Get FeedItem and TopicAssignment details from FeedComment

$
0
0

I'm trying to build a query which would get all comments and the Topics assigned to the FeedItem they belong to but looks like I have hit a snag.

This is what I'm trying right now -->

SELECT Id, FeedItemId, ParentId, FeedItem.Title, CommentBody FROM FeedComment Limit 10

But I get this 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.

I want to be able to get the following fields in my result -- FeedItem.Title and the Topic(s) assigned to that FeedItem.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images