I would like to know what exactly do the function display_expression introduced in QGIS since version 3.14.

The 3.14 Changelog is not clear on it and also reading the GitHub commit didn't help me to solve my doubts about the use of this function.

enter image description here


It returns the expression used in the Display tab of the layer properties.

  • 1
    Actually, the answer gave me the requested information. I wasn't connecting the display in the name with the Display Tab. Thanks Gabriel De Luca
    – Val P
    Jul 29 '20 at 10:32
  • You are welcome @ValP. I don't know about the use of the display tab and can't improve my answer yet, but had seen that the function returns that expression. Jul 29 '20 at 10:41
  • The obvious test was use the function in the expression of the display tab and try to identify a feature.. Jul 29 '20 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.