1

I know how to create a hyperlink to a single pdf-file: Create a hyperlink to a pdf file in the attribute table

But now I want to make a link to a folder with 3 or 4 pdf files in it. Is that possible? I tried it the same way as linking a pdf but it didn't work.

I'm working ith qgis 2.0.1.

qgs
  • 288
  • 1
  • 8
  • 16
  • What operating system? Still on Linux? What's the desktop environment or file manager you're using? – SaultDon Apr 16 '14 at 15:27
  • And can you update your question to show exactly what you tried so far please? – SaultDon Apr 16 '14 at 15:40
  • No, windows. I exactly did what I would do to create a link for a single pdf: I filled the link to the fodler into a new column ("Path") and I created a action called "open folder", type "open" with the "Path"-attribute as reference. – qgs Apr 17 '14 at 06:47
  • What does your hyperlink look like at present? – nmtoken Apr 17 '14 at 09:25
  • Something like: H:\04_environment\04_02 subjects – qgs Apr 17 '14 at 09:32

2 Answers2

1

I found the answer to my question myself: It didn't work, because "H" was not enough to create a link to the folder, I had to use the whole remote connection link for the folder "H".

qgs
  • 288
  • 1
  • 8
  • 16
  • what did you mean with "remote connection link"? I'm trying to do the same: use the actions to open a folder (not just a PDF). How did you manage that? – Michele Cordini Mar 22 '23 at 13:53
0

Generally you can create a hyperlink to a folder on a web server by omitting a file from the path.

So for example this is a link to the folder that contains GML schema:

http://schemas.opengis.net/gml/

However, this isn't always possible because many web server administrators don't want users to root around in the file structure, so they either disable folder/directory browsing, in which case that you get an error (HTTP 403) when you omit a file name, or they add a default document (for example example of default web page).

nmtoken
  • 13,355
  • 5
  • 38
  • 87
  • I think, I used the correct path. But if I want to open the folder, nothing happens, there's no error message or default document. – qgs Apr 16 '14 at 15:29