Last modified on 19 October 2021, at 14:18

Offline Expression

Revision as of 14:18, 19 October 2021 by JKN (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Offline expressions are simple C# expression, that are configured on the server, but evaluated on the client. An offline expression has to be enclosed in curly brackets and a code tag. The following example code could be used for the Initial Value of a string MetaProperty, and it would write the value of the property NAME of the hierarchical owner object into the initial value of the given property, when an instance of the carrying MetaClass is created on the client:

{code:ParentLevel["NAME"]}

See also