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
Yash Kumar GuptaYash Kumar Gupta 

Download File Component in Salesforce Mobile App

Hi all,  
I need to make a component which downloads the file. Which also work in salesforce mobile app.

I have already used the "sfc/servlet.shepherd/version/download/" which not working  in salesforce mobile app
Best Answer chosen by Yash Kumar Gupta
VinayVinay (Salesforce Developers) 
Hi Yash,

Try below 
<scheme_name>sObject/<id>/download
salesforce1://sObject/069R00000000mr3/download

Download action only supports ID values for ContentDocument in salesforce app.

Thanks,

All Answers

VinayVinay (Salesforce Developers) 
Hi Yash,

Try below 
<scheme_name>sObject/<id>/download
salesforce1://sObject/069R00000000mr3/download

Download action only supports ID values for ContentDocument in salesforce app.

Thanks,
This was selected as the best answer
Julie Hopkins 8Julie Hopkins 8
This is very helpful!! Thank you so much!
Things to do (https://www.thingstodopost.org)