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

Downloading Chatter files in visualforce page
Hi folks,
Can anyone tell me how to download the chatter files in visaulforce page?
like
If the chatter post type is :ContentPost
then I need to download that file?
For that How can I implement?
Thanks in advance
Karthick
Can anyone tell me how to download the chatter files in visaulforce page?
like
If the chatter post type is :ContentPost
then I need to download that file?
For that How can I implement?
Thanks in advance
Karthick
You can use the below SOQL query to achieve something similar to this
feedAttachmentList = [SELECT ContentDocument.LatestPublishedVersionId, ContentDocument.title,ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId = :document.Id]
Please find the link below for more info
http://salesforce.stackexchange.com/questions/13571/link-to-download-chatter-file-download-in-vf
Best Regards
Naga Kiran
Can you tell me how to get document.Id ?