Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 25814

An action is something that happens when you click on a feature (in QGIS). It can add functionality to a map, such as retrieving additional information about an object.

2 votes

QGIS Action commands in 3.8

If you want to use an absolute path to your pdf file, use: cmd /c "path/to/myFile.pdf" If you want to reference a field, use: cmd /c [%myField%] Both commands work with Type set to Generic or …
Joseph's user avatar
  • 76.3k
2 votes
Accepted

What is this 'Run layer action' and how to use it?

Seems like the Run layer action is meant to be a menu separator as the action is set to be disabled: https://github.com/qgis/QGIS/blob/aad182fdc041bd5e83be5b2b399cae496826c008/src/gui/attributetable/ …
Joseph's user avatar
  • 76.3k
2 votes

Run QGIS layer Action on all selected features

You can create and run various actions from the Attribute Table for each feature. … If you go to Layer Properties > Actions and add a new action, there is an option which allows you to run the action from the attribute table: Once you have created an action, you can choose to show …
Joseph's user avatar
  • 76.3k
2 votes

Create an action in QGIS 2.18 to show image?

From your image, change the Type from Generic to Open. This should open the url path and if it points to an image file, it should load the file into an image editor.
Joseph's user avatar
  • 76.3k
7 votes
Accepted

QGIS action for inserting text in field by hotlink

If you change the Type from Generic to Python, you could use the following instead: layer = qgis.utils.iface.activeLayer() layer.startEditing() idx = layer.fieldNameIndex('Process') layer.changeAttri …
Joseph's user avatar
  • 76.3k
5 votes
Accepted

Developing QGIS Action which loads a raster

Try using the following code in your Action Text which should do the following: Keeps your 'catalogo_CTR' layer as active Creates a new group to contain the raster layers if one does not exist Sets …
Joseph's user avatar
  • 76.3k
6 votes

Is there an equivalent of ArcGIS Hyperlink script editor in QGIS?

You can set up Actions in QGIS, by using Python or shell commands, to perform certain tasks for specific fields: You can access these actions when using Identify Features which will provide you with … the list of actions you set up. …
Joseph's user avatar
  • 76.3k