mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
13 lines
599 B
Plaintext
13 lines
599 B
Plaintext
{
|
|
"name": "represent_value",
|
|
"type": "function",
|
|
"description": "Returns the configured representation value for a field value. It depends on the configured widget type. Often, this is useful for 'Value Map' widgets.",
|
|
"arguments": [
|
|
{"arg":"fieldName", "description": "The field name for which the widget configuration should be loaded."},
|
|
{"arg":"value", "description": "The value which should be resolved. Most likely a field." }
|
|
],
|
|
"examples": [
|
|
{ "expression":"represent_value('field_with_value_map', \"field_with_value_map\")", "returns":"Description for value"}
|
|
]
|
|
}
|