Jump to: navigation, search

Changes


Offline Expression

561 bytes added, 13:23, 19 October 2021
Created page with "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..."
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 would could be used for the [[MetaProperty#Initial_value|Initial Value]] of a string MetaProperty, and it would write the value of the property ''NAME'' into the initial value of the given property, when an instance of the carrying MetaClass is created on the client:

<code>
{code:ParentLevel["NAME"]}
</code>

==See also==
* [[MetaProperty]]