Pass a contant to a custom widget

1
Is there a way to pass a constant to a custom widget. So you define a constant and then pass the value of the constant to a custom widget, not setting a value directly in the properties but rather indicating that the value of the constant should be used?
asked
3 answers
0

No that is currently not possible. What is your case? There might be another solution.

answered
0

You could create a microflow that retrieves the constant and call upon that microflow? While this is not as nice as calling your constant on the fly it does the trick :]

answered
-2

You can do it by adding an attribute to the entity and then making it float/integer or whatever you want, and then give it a default value.

Now it's "constant" :)

answered