|Brief description||Have initial values available at server startup|
If a user-defined element is created on the basis of a script, it may happen that the desired value, which is actually present at the data point used, is not set when it is called for the first time.
The behavior is normal and is due to the fact that the initial values for the custom element were not supplied and are therefore unknown.
In order to get the initial value in the custom element, it is necessary to request it as well. This is possible in the user-defined element itself.
To do this, open the file in which you are using the script, that is <, Custom Elements.elvissc>.
On the left, you’ll see two tabs, elements, and bindings. You usually work in the elements and bind the inputs and outputs for the user-defined element here.
Now, to specify which binding should provide an initial value, click the second Bindings tab. Here you will find all the bindings that have been created within this collection and can request the initial value by ticking the “Returns initial value” box.