function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Simran SuriSimran Suri 

Fetch download link of the file stored in document object.

Hi,
I have a word document stored in the Documents tab in Salesforce.
I need to add its download link in the email body section, that I am sending through VF page and apex controller class.
In my controller class, I tried querying the document object and used its ID for hyperlink, but that takes me to the folder where I have stored the file. I want the download to automatically start if the user clicks on this download link in his email. Can anyone please help?
Thanks !
Arkadiy GolovkoArkadiy Golovko
Hi, flash is a downside when using content deliveries but that can be solved.