Add value function arguments

It would be so appreciated to be able to pass arguments to the user defined functions!

So far I’ve been able to pass additional arguments via retrieving the attributes of the valueobject, and derived there from the attributes of the message, such as the parameter numbers, default values,min, max.

Example:

function linkPar(valueObject, value) 
    local default= valueObject:getDefault ()
    local message = valueObject:getMessage ()
    local parameterNumber = message:getParameterNumber ()
1 Like

Yes, all that is fine and I use it, however, I want to specify something as an argument from the web app, so I don’t have to code it for every single case. Example: do certain function and also change color. Right now I have to make a function that calls both functions, and one for each color (not related to the current color).

2 Likes