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
SFDC_Dev_2013SFDC_Dev_2013 

How to save document in local drive using custom label

Hi,

 

My requirement is i need to get page(as PDF or Excel) and store it in local drive(c: or d: drive) of my machine. Then i need to get path of that documnet and mail it to users who are in group.

 

Note : Path should from custom label.

 

Pls help us.

 

Avidev9Avidev9
Ahh you are making a basic mistake here, salesforce runs on the cloud and cannot access the document path or location. Salesforce /web application cannot access the local drive of a user alone.

What you can do is a force download a file but the file will be downloaded based on system preferences and you cannot have a control over the location etc