Is there a way to query ContentDistribution and ContentDocument ? I'm looking to pull few fields from ContentDocument while building the ContentDistribution query.
Here is what I have done so far:
SELECT Id,Name,ContentVersionId, ContentVersion.FileType, ContentVersion.Title, ContentVersion.FileExtension,ContentDocument.Id FROM ContentDistribution
the above query throws an error due to ContentDocument.Id
Didn't understand relationship 'ContentDocument' in field path