Closed magerlin closed 7 years ago
this is the display expression of the layer, you can change it in the properties
Hmm - I cannot make that work. I have tried this:
And this:
But it does not change that the attribute "Name" is shown in the browser window
I am using Qgis 2.18.12 in Win 7 64 bit....
Sorry, this is properly handled in coming QGIS 3.
To set the display expression of a layer in QGIS 2.x, you have to define it in the attribute table as a related layer -- not very easy way.
A solution would be to use a python command to do it:
iface.activeLayer().setDisplayExpression( 'your_expression' )
I would like to see another attribute than the one shown (with same value "Rahela Vlaovic" for all selected features):
Is that possible?