Skip to content
Menu
Menu

Knowledge Base

KB110020 | INITIAL VALUES FOR USER-DEFINED ELEMENTS

KB110020 | INITIAL VALUES FOR USER-DEFINED ELEMENTS

Product Elvis 3.2.134
Created on 27.05.2015
Brief description Have initial values available at server startup

Problem

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.

Solution

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.

Support Area

KB110020 | INITIAL VALUES FOR USER-DEFINED ELEMENTS

Knowledge Base

Here you will find answers, solutions to problems and examples of our products.
KB110020 | INITIAL VALUES FOR USER-DEFINED ELEMENTS

Case Studies

Successful in use: practical examples of our products and individual developments.
KB110020 | INITIAL VALUES FOR USER-DEFINED ELEMENTS

Support

Describe your concern using our support form.
KB110020 | INITIAL VALUES FOR USER-DEFINED ELEMENTS

License registration

Register your Elvis license!

IT GmbH · An der Kaufleite 12 · D-90562 Kalchreuth

© Copyright 2024. IT GmbH | Webdesign by Appear Online