In a command handler I show a field with a document name, for example:
e:\abc\document.xls
I want to show an icon behind this field. When the end user uses the icon, the document need to be opened is a separate window in VLF-ONE.
How can this be done?
Show document in separate window in VLF-ONE
-
René Houba
- Posts: 220
- Joined: Thu Nov 26, 2015 7:03 am
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Show document in separate window in VLF-ONE
Hi Rene
As I understand it, attempting to access a "local" resource in the browser is considered a significant security risk. If it were possible, any site could download an executable and run it.
The File:// protocol exists, but from what I can see, it has fairly limited capabilities.
When I tried to access something on my C drive, the Chrome console shows this message "Not allowed to load local resource"
Regards
As I understand it, attempting to access a "local" resource in the browser is considered a significant security risk. If it were possible, any site could download an executable and run it.
The File:// protocol exists, but from what I can see, it has fairly limited capabilities.
When I tried to access something on my C drive, the Chrome console shows this message "Not allowed to load local resource"
Regards
Re: Show document in separate window in VLF-ONE
A separate window is done by using #SYS_WEB.Navigate Url(<some url>) Target(New)