10

I would like to have the URL from an attribute (in the attribute table) as a 'hotlink' wherein you can click on the URL and it opens the browser with the data. As it is right now, I'm having to identify feature, R-click on the URL and copy/paste the URL into a browser.

Taras
35.8k5 gold badges77 silver badges152 bronze badges
asked Nov 11, 2016 at 1:02
0

2 Answers 2

16

Take a look in Action menu at QGIS documentation. You need to define an action, this could be open urls defined by a field.

  • Open your vector's properties, go to actions and select + button.
  • type = open.
  • Action text = [%url_field%] and click insert.

To execute the action, right-click on your object with Run feature action button (attributes toolbar).

answered Nov 11, 2016 at 3:03
0
4

You have to:

  1. Add a text field (PATH for example) to table and place the url to the pdf in the that field.

  2. Then go to layer properties and go to actions and add new action

  3. Type = open, Action text type [% "PATH" %]

  4. Select OK and apply.

gisnside
7,9082 gold badges33 silver badges75 bronze badges
answered Jun 18, 2018 at 14:21

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.