2017-09-26 10:33:56 +02:00
{
"name": "represent_value",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["Record and Attributes"],
2017-09-26 10:33:56 +02:00
"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": [
2017-09-28 16:34:48 +02:00
{"arg":"value", "description": "The value which should be resolved. Most likely a field." },
{"arg":"fieldName", "description": "The field name for which the widget configuration should be loaded. (Optional)"}
2017-09-26 10:33:56 +02:00
],
"examples": [
2017-09-28 16:34:48 +02:00
{ "expression":"represent_value(\"field_with_value_map\")", "returns":"Description for value"},
{ "expression":"represent_value('static value', 'field_name')", "returns":"Description for static value"}
2017-09-26 10:33:56 +02:00
]
}