+ Start a Discussion
BellaBella 

Download from Content

Hi, I'm wondering if there's any way I can make a link in a visual force page that would allow me to download an object (pdf file, excel sheet, etc) from Content (ContentVersion) object? All I found so far is this:

 

 

<apex:page standardController="Attachment">
    <apex:outputLink 
      value="{!URLFOR($Action.Attachment.Download,
                      attachment.id)}">
      Download Now!
    </apex:outputLink>
</apex:page>

 but that's not very helpful because I can't seem to find the actual URL to pass. Anyone try this? Thanks!