Options

Hiperlink with a server path

Manolo_SPAManolo_SPA Member Posts: 19
Hi guys. I think I have already read each topic about hiperlink and I didn't get any answer.

I want to open a file with navision and I have the path. If you use Hiperlink and you have a map drive (like d:\file.pdf), it works. The problem is when you have a server path. For example \\server01\shared\file.pdf. The system thinks it's a web page and it tries to open the broswer. And I would like to open the default program for that file extension.

Thanks in advance
Manolo

Comments

  • Options
    jhoekjhoek Member Posts: 216
    edited 2005-09-04
    Haven't tested this myself, but i guess prefixing something like "file://" ought to tell the system which protocol to use, and not open a browser window. Again - I'm not sure if it works, but it's worth a try! :)
    Kind regards,

    Jan Hoek
    Product Developer
    Mprise Products B.V.
  • Options
    Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    If Jan's solution does not work:

    Try to type in \\server01\shared\file.pdf in using start, run ...

    This is the same as Hyperlink in Navision. If this fails, the problem is not in Navision but your network settings.
  • Options
    grpresetgrpreset Member Posts: 7
    I used

    HYPERLINK('file://'+"network address");

    In my case I have a network path with a file name in a field. If U insert the upper sentense in OnLookup trigger that is.
    It works nicely.
  • Options
    Manolo_SPAManolo_SPA Member Posts: 19
    It works with file:// . Thanks to everyone.

    Manolo
Sign In or Register to comment.