Author Topic: Linking to a local folder/files?  (Read 1809 times)

0 Members and 1 Guest are viewing this topic.

Offline Roy22

  • User
  • ***
  • Posts: 34
    • View Profile
Linking to a local folder/files?
« on: July 12, 2015, 04:04:24 pm »
Can anyone tell me whether there's a simple way to embed a hyperlink in one of the displayed fields, so I can click on this and open a related file or folder of files on my hard drive?

Offline CAD

  • Power User
  • ****
  • Posts: 167
  • I've got my eye on you!
    • View Profile
Re: Linking to a local folder/files?
« Reply #1 on: July 16, 2015, 12:36:51 pm »
Hi,

yes:
<link url="file path">Name of link</link>

eg.
<link url="F:\Movie007\Age of Kill (2015)\">Age of Kill</link>

You will need to see which fields support this.
Comments field supports it.
Features field supports it

I don't know if this can be embedded automatically.
There is a %path% variable, but I don't know how to insert/automate this.
Perhaps a question for Nostra or Ivek23, if you want it done automatically
« Last Edit: July 16, 2015, 12:47:29 pm by CAD »
three fingered salutation

Offline Kariput

  • Member
  • *
  • Posts: 21
    • View Profile
Re: Linking to a local folder/files?
« Reply #2 on: July 16, 2015, 08:37:48 pm »
Many thanks for the tip, CAD.  It works just fine for me in one of the custom fields I created.

Offline Roy22

  • User
  • ***
  • Posts: 34
    • View Profile
Re: Linking to a local folder/files?
« Reply #3 on: July 19, 2015, 02:14:16 pm »
CAD,

Cheers mate, worked a treat for me too!  Fine within Comment field, but not within URL field oddly in case that helps anyone.

Offline CAD

  • Power User
  • ****
  • Posts: 167
  • I've got my eye on you!
    • View Profile
Re: Linking to a local folder/files?
« Reply #4 on: July 21, 2015, 04:41:10 am »
This could be somewhat automated by doing an export/import.
Export with %filepath% then import back into custom field. PVD has the capabilities to replace text etc so it can be fully configurable.
I'll have a go at writing a script if I get time.

Also this works for network drives (handy  :) )
eg.
<link url="\\qnapi\movies">Age of Kill</link>
three fingered salutation