Skip to main content
15-Moonstone
December 16, 2020
Solved

two dropdown widget use one service on same mashup will display the same value

  • December 16, 2020
  • 1 reply
  • 1456 views

Dear community,

 

My Thingworx version is 9.0. Here are my steps:

  1. create a mashup
  2. drag two dropdown widget on the mashup
  3. add a service
  4. drag the service return data to two mashup
  5. view mashup

when I select one of dropdown, the another dropdown will display the same value auto. See the attached screenshot.

Is my handling method wrong?

Best answer by zyuan1

It's working as expected.

 

The widgets like Dropdown list & Grid are just data receiver, when you select 1 row of data inside, you're pointing to the source service, and the selected row of data will be presented in all widgets that's linked to the output of this service.   We always use this function to co-related between different widgets.   i.e  Select 1 row of data from infotable result in Grid, and present the details in related charts.

 

What's your expectation on putting 2 drop down widget to same service as source?

1 reply

zyuan15-Regular MemberAnswer
5-Regular Member
December 16, 2020

It's working as expected.

 

The widgets like Dropdown list & Grid are just data receiver, when you select 1 row of data inside, you're pointing to the source service, and the selected row of data will be presented in all widgets that's linked to the output of this service.   We always use this function to co-related between different widgets.   i.e  Select 1 row of data from infotable result in Grid, and present the details in related charts.

 

What's your expectation on putting 2 drop down widget to same service as source?

15-Moonstone
December 17, 2020

Thank you very much for your answers.

 

We are doing a chart display. This chart allows customers to choose any two attributes to display on the chart, so we want to use two dropdowns to provide customers with the attributes they want to display.

 

Now we have solved this requirement by adding the same service twice, thank you very much for your explanation so that I can understand the meaning of this widget more deeply.