Skip to main content
10-Marble
July 12, 2021
Solved

Dropdown Widget Output to Service

  • July 12, 2021
  • 1 reply
  • 2453 views

I have an infotable with a list of programs and associated parameters. I want to display the names of the programs in a dropdown widget and use the selected entry from that widget as input for a button widget activated service. However, I am having difficulty finding where the dropdown selection outputs to and how to get the infotable information to a service. How can I retrieve the current selection and its parameters in a service?

Best answer by TanmeyTWX

Hi @Nate_145 ,

 

You can use the Selected Row data from the Returned data of the service which is providing/bound to dropdown list widget,

1 reply

TanmeyTWX17-PeridotAnswer
17-Peridot
July 13, 2021

Hi @Nate_145 ,

 

You can use the Selected Row data from the Returned data of the service which is providing/bound to dropdown list widget,

Nate_14510-MarbleAuthor
10-Marble
July 13, 2021

So I try to grab the selected data from MyThing > GetPropertyValues > ReturnedData > SelectedRows > MyInfotable > Parameters and feed that into a service in the same thing, but from looking at the mashup debug menu I see that data doesn't update when I make a selection in the dropdown. What am I doing wrong that stops me from getting the selected data? Do I need to make a service and if so what kind and where? 

 

Is there an example mashup I could look at to get an idea of how to connect things or a tutorial on how to set the widget up? 

17-Peridot
July 14, 2021

You also need to use Selectedrowchange trigger to load the list based on input from first list(dropdown).

example: dropdown 1 has service A generating list. From service A-->Returned data--> selected row will be input for target services and SelectedRowChanged trigger of service A should be used to load Target service.