7 Expressions
description: Expression that describes entity info on header when window is in edit mode. Expression uses field names defined in entity model. In expression you can use
- # - operator indicates usage of field name. Ex. <option type="expression" value="#userName"/>
- ' - static text. Ex. <option type="expression" value=" 'hello' "/>
- + - operator concats two subexpressions. Ex. <option type="expression" value="#userName + '(' + #userLogin + ')' "/>
- [ - use it when you want to get one of fields of corresponding entity (see [belongsTo field|confluence/display/QCDMESDOC/Model+Definition+Overview#ModelDefinitionOverview-belongsTo||||||||||||]). Ex. <option type="expression" value=" #substituteName + ' -' + #product['productName'] "/>