In the Salesforce mobile app, can a custom LWC "Download" button save a file (ContentDocument) directly to the phone's storage?
Right now it only opens the native file viewer.
#Salesforce Developer #Salesforce_Mobile_App #Salesforce1 Mobile App #Lightning Web Components #Sharing Files #Download Files
Thanks Usman. We're already using that approach: NavigationMixin with standard__namedPage / pageName "filePreview", passing recordIds and selectedRecordId. In the Salesforce mobile app it opens the native file viewer, and the user still has to tap Share and then Save to get the file onto the phone.
What I'm trying to confirm: is there any supported way, standard or custom, for an LWC button in the Salesforce mobile app to save the file straight to device storage without going through the native viewer? Or is the native viewer the only option the app supports? A doc reference either way would really help.