Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


5. 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'] "/>

  • No labels