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
Kamatchi Devi SargunanathanKamatchi Devi Sargunanathan 

I want to open a local folder path from salesforce

Hi All, 

I was searching for an option to open a local folder from salesforce either in one of the following ways,
  • Button
  • Link
  • VF page with output link
But none of this is working and it ends in some script error that was blocking the URL from opening it in browser. Refer the screenshot below,
 Error I faced blocking my folder not to open

VF page code,
<apex:page >
    <html>
        <!--These are the folder path copied from my local system-->
        <a href="file:///C:/Users/MSTEMP194/Desktop/Project/Case/Files">Link 1</a>  
        <a href="file:///C://Users">Link 1</a>
    </html>     
</apex:page>
 
I tried searching for many solutions in blogs and found that file:/// should be used when refer the path from a local system. If I copy this folder path and paste over the browser, its opening. But, I have to open a folder path to my local system from salesforce. Can anyone help me out in solving the issue?. Its Urgent!

Thanks in Advance!
Best Answer chosen by Kamatchi Devi Sargunanathan
Kamatchi Devi SargunanathanKamatchi Devi Sargunanathan
Hi All, 

I found a solution to solve the blocking of the link from salesforce. 

Install the following extension to the browser,
https://chrome.google.com/webstore/detail/locallinks/jllpkdkcdjndhggodimiphkghogcpida

Thanks,
Kamatchi Devi Sargunanathan