on ‎2022 Jan 25 2:18 PM
Hi SAC experts,
Is it possible to bind a user input widget to a model variable with the goal of modifying the model variable from the input widget? The documentation seems to think so, unless I misunderstood.
I was able to do it through scripts in onChange events of input widgets (DataSource.setVariableValue), but is it possible without scripting?
Thanks for your time
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
emilianogcasas
you can fill in the list of values through the bind
you can also pass the selected value without setVariableValue to a pre-created Script Variable

but after that you still need to do something like
Chart_1.getDataSource().setVariableValue("ZBA0194_CEOM_02",Variable1);
is it possible to make it so that immediately from the dropdown or input field directly to the variable is a good question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.