Page 1 of 1

Show document in separate window in VLF-ONE

Posted: Fri Jul 29, 2016 12:50 am
by René Houba
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?

Re: Show document in separate window in VLF-ONE

Posted: Fri Jul 29, 2016 1:02 pm
by Stewart Marshall
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

Re: Show document in separate window in VLF-ONE

Posted: Mon Aug 01, 2016 8:41 am
by MarkD
A separate window is done by using #SYS_WEB.Navigate Url(<some url>) Target(New)