Expressions
On several places in wyStack, expressions are used to make dynamic calculations.
Just type exp.
in the expression editor and IntelliSense will help you to make an expression.
Note that the expression syntax is limited: expressions are applied to C#, Dart and TypeScript and should be valid in each case.
Display expression
When a display expression evaluates in true
the subject is displayed.
Example
exp.currentEntity.getPropertyValueAsBoolean('IsActive') == true
Default value expression
Use an expression to compute a default value for a property.
Example
exp.getUserSetting("DefaultNameValue")
(Sub)title expression
Use an expression to compute a Title or Subtitle for a specific class.
Example
exp.currentEntity.getPropertyValueAsString("FirstName") + " " + exp.currentEntity.getPropertyValueAsString("LastName")