Posted: 11 Jun 2018 0:54 EDT Last activity: 12 Jun 2018 1:13 EDT
How to open up Windows folder from button
This is a very simple question but I just simply want to have a button on section where user clicks and pops up a Windows explorer. The folder location will vary but for now I am just hard coding something like \\remotehost\data. I tried using "Open URL in Windows" action but it is not bringing anything up. What is the easiest way to do this?
Browsers infact do not allow such actions [access to local resources]. I am guessing you are running your test html file directly instead of hosting it in a web server. This circumvents a lot of restrictions for IE. Try hosting the file in tomcat and you will see that the same functionality works no more.
This has nothing to do with Pega.
EDIT: Link here says that you can get past the restriction for specific domains by adding them as trusted sites. See the last comment in this link.
Oh really - yes I placed that HTML file on my desktop, not web server. I am not able to setup that using remote web server, so I believe what you guys say. Now, understanding it is against security but can we break it somehow because it is one of important customer's requirements..
Posted: 3 years ago
Posted: 11 Jun 2018 6:01 EDT
Mohammad Asif Hasan (Asif Hasan)
Senior Technical Solutions Engineer