Skip to main content
Apr 30, 2018 4:42 PM UTC
Solved

pass value from combobox to a thing value property

Hi Guys,

 

I am loading a drop down list with string values bring from my database, but I need pass that value chosen to one specific thing property,  i don't know the way to do this.

 

Thanks in advance.

PaiChungAnswer
May 1, 2018 1:41 PM UTC

The selected value comes from the Data Source the right side pane not the Widget.

You assign Data to the widget and then from that same Data Source the Selected Row(s) tracks what is selected in that widget. So you drag it from that right side onto whatever you need to pass the selected value to.

 

3 replies

Apr 30, 2018 8:14 PM UTC

Selected Values are tracked in the source. So in the Data pane, where you have brought in the service, you'll see Result/Data and Selected Row(s) /Data

the Selected part represents the selection in any widget that you have bound the data to.

So you'll take selected row(s)/PropertyName and drag and drop that onto what you need to bind it to, either an input parameter to a service which will then apply that value to the model (a Thing property for example) or onto a Widget.

Apr 30, 2018 8:58 PM UTC

yeah, I know


But in my case this widget don't have the option to drag the select value to the property, only get Data, it's normal?

 

Kind Regards.

PaiChungAnswer
May 1, 2018 1:41 PM UTC

The selected value comes from the Data Source the right side pane not the Widget.

You assign Data to the widget and then from that same Data Source the Selected Row(s) tracks what is selected in that widget. So you drag it from that right side onto whatever you need to pass the selected value to.