You need to sign in to do that
Don't have an account?
Zanga Touré
Can one get to the ContentVersion object by querying the FeedItem object?
This query returns Feed Attachments on a given opportunity record.
SELECT Title, ContentFileName, ContentType, RelatedRecordId, Type, Visibility FROM FeedItem where Type = 'ContentPost' And ParentID= '0067000000ajmPe'
I would like to select the latest version of the attachment in a where clause using the IsLatest flag a field on the ContentVersion object. Is it do-able?
SELECT Title, ContentFileName, ContentType, RelatedRecordId, Type, Visibility FROM FeedItem where Type = 'ContentPost' And ParentID= '0067000000ajmPe'
I would like to select the latest version of the attachment in a where clause using the IsLatest flag a field on the ContentVersion object. Is it do-able?
You can get latest by apply createddate in where clause as I think.