compute-string:==EMPTY
@expr
<element>
None
The <compute-string>
element enables you to generate a string based on an XTK expression to display a “built” label in the interface based on several values.
When no <compute-string>
is defined, a <compute-string>
element is entered by default with the values of the primary key in the schema.
<compute-string expr="@label + Iif(@code='','', ' (' + [folder/@label] + ')')"/>
<compute-string expr="ToString([@centralCatalog-id]) + ',' + ToString([@localOrgUnit-id])" />
Result of the string calculated on a recipient: “John Doe (john.doe@aol.com)”:
<element name="recipient">
<compute-string expr="@lastName + ' ' + @firstName +' (' + @email + ')'
"/>
...
</element>