You need to sign in to do that
Don't have an account?

Getting contentData and ContentFileName for FeedComment Post
Hi folks,
Can anyone tell me how to get the contentData and contentFileName for FeedComment ?
I can get same for FeedItem using below query.
But there is no contentData,ContentFileName field in FeedComment Class.
Please help me how can I get for FeedComment?
Thanks in advance,
Karthick
Can anyone tell me how to get the contentData and contentFileName for FeedComment ?
I can get same for FeedItem using below query.
select Id,RelatedRecordId,Type,Body,CreatedDate,CreatedBy.FirstName,CreatedBy.LastName,Title,LinkUrl,ContentData,ContentFileName From FeedItem
But there is no contentData,ContentFileName field in FeedComment Class.
Please help me how can I get for FeedComment?
Thanks in advance,
Karthick
Do you know We can able to attach a file to feed comment .
My question is I want to get the contentData and ContentFileName of the files that are attached to the feedcomment.
068 means standard CONTENTVERSION records. You can get the attachment of the comment in CONTENTVERSION object.
select id,title,contentmodifieddate,description,FirstPublishLocationId,contentdocumentid,versionnumber,VersionData,createdby.firstname from ContentVersion where id = 'relatedrecordid_in_feedcomment'