CalculatedProperties Content Modifier
This content modifier allows including additional calculated properties into the content.
Attributes
Name | Required? | Type | Default | Meaning
-|-|-|-|-|-
label
| Yes | string
| | Label of the calculated property. Supports localization.
value
| Yes | ECExpression | | Expression to calculate the value. The expression can use ECInstance and Ruleset Variables symbol contexts.
priority
| No | number
| 1000
| Priority of the property. Determines the position of this property in UI components - higher priority means the property should be more visible.
Example
{
"priority": 9999,
"label": "@MyApp:Volume@",
"value": "this.Width * this.Height * this.Depth"
}
Last Updated: 21 May, 2020