Open the Explorer window from the website

My company has a shared network folder for projects. This folder contains a subfolder for each of our customers. Each subfolder contains all the information for projects completed for these clients. It makes sense, huh?

OK

I was given the task: when in our company MS CRM and view the client’s account, let the user click on the button that will open Explorer in the project folder for this account.

That sounds easy.

A bit of hunting online. It looks beautiful: http://blogs.msdn.com/crm/archive/2007/04/18/integrating-windows-explorer-files-and-folders-into-crm-tabs.aspx

This is ridiculous, but it is beyond the scope of the task that I really gave. However, my company does not use SharePoint (although we have licenses if we need it), and I do not have time to invest in customizing this solution until it complies with our CRM. I just need to open the explorer on the client machine and point it to a folder. I want a button that opens the explorer. It should be easy! I just want to configure a button in CRM, execute a command to open explorer / root, // server / projects / account, and then move on to more important things.

However, I do not think that this is a hacker, so I did not understand that it was an obvious security exploit that would be blocked most (if not all) of that time. So I gave it, but I had problems opening a browser with JavaScript, which I thought would be a quick, easy, and painless solution (duh me!)

Is there an easier way to do this than the above example?

+3
source share
2 answers

, Internet Explorer , ftp-, . , , , , ( SMB) FTP-. :

window.open("file://\\192.168.1.10\clients\112");

window.open("ftp://192.168.1.10/clients/112");

+8

. Windows Explorer, Firefox Chrome ( ) . :

<a href="file://///192.168.1.10\clients\112">Click me</a>
0

Source: https://habr.com/ru/post/1717801/


All Articles