HYPERLINK failed to open file in network shared folder

parkodetuakparkodetuak Member Posts: 5
Hi.

I'm using NAV v4.0 SP3. I have this form where i can specify file pathname and if i click open button, it will open the file.
Currently im using HYPERLINK("Path Name"); to open the file.

It's working fine if i select files in local drives.
But when i select file that's in network shared folder, got error c/side hyperlinking failed
I tried to move the file to local folder, and it works fine.

So, what can i do to make this hyperlink works well too to open files in network shared folders?

Thanks in advance

Comments

  • nickadriannickadrian Member Posts: 7
    Make sure you can access the file in network shared folder using explorer. If not, your permission to that folder must be set.
  • parkodetuakparkodetuak Member Posts: 5
    Hi, nickadrian
    Thanks for the reply

    I have no problem accessing the file using explorer. Already permitted.

    any other idea what's wrong here?
    or any other way i can use other than HYPERLINK?
    i have tried to use the wshShell.Run, but not working.
  • nickadriannickadrian Member Posts: 7
    What is the error message and what exactly is the code in your HYPERLINK?
  • parkodetuakparkodetuak Member Posts: 5
    below is the error message :
    C/SIDE Hyperlinking failed.

    You tried to hyperlink to this target:
    \\abc\shared folder\123.txt

    Do you want to place that hyperlink target on the clipboard?


    and the code is simply like this
    TESTFIELD("Path Name");
    HYPERLINK("Path Name");

    "Path Name" is the field on the table.
  • nickadriannickadrian Member Posts: 7
    Check carefully the text specified in the Path Name. I get the same error message if the file is not found.
  • parkodetuakparkodetuak Member Posts: 5
    The file is there...
    Like i've said, if i copied the file from the shared folder to local folder, let's say C:\, it works fine.
  • nickadriannickadrian Member Posts: 7
    I mean the spelling. Check carefully the text specified in the table containing the field "Path Name"
Sign In or Register to comment.