PropertyItem

PropertyItem
PropertyItem

Represents a label-value pair.

JSON Example
{
    "condition": "string",
    "field": "string",
    "heading": false,
    "label": {
        "condition": "string",
        "hover": false,
        "icons": [
            {
                "placement": "string",
                "tooltip": [
                    {
                        "condition": "string",
                        "heading": false,
                        "text": "string"
                    }
                ],
                "type": "string"
            }
        ],
        "navigation": "string",
        "text": "string"
    },
    "render_configuration": [
        {
            "color": "string",
            "condition": "string",
            "display_value": "string",
            "icons": [
                {
                    "placement": "string",
                    "tooltip": [
                        {
                            "condition": "string",
                            "heading": false,
                            "text": "string"
                        }
                    ],
                    "type": "string"
                }
            ],
            "tooltip": [
                {
                    "condition": "string",
                    "heading": false,
                    "text": "string"
                }
            ]
        }
    ],
    "separator": false,
    "type": "string"
}
string
condition
Optional

If the condition is met then the property will be displayed. Examples of expression syntax are provided under 'example_request' section of 'CreateWidgetConfiguration' API.

string
field
Required

Represents field value of the property.

boolean
heading
Optional

Set to true if the field is a heading. Default is false.

label
Optional

Label that will be displayed for a UI element.

render_configuration
Optional

Render configuration to be applied, if any.

boolean
separator
Optional

If true, separates this property in a widget.

string
type
Required

Data type of the field.

Possible values are : String, Number, Date, Url,