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

Connecting the DropDown widget selection to a custom service

I'm trying to figure out how to allow a user to select from a dropdown menu and have that selection be used as input to a custom service that will ultimately populate the rest of the mashup. I've been beating my head against the wall trying to figure this out. I'm hoping you all can help me. Thanks in advance.

AshrithaAnswer
15-Moonstone
December 31, 2020

Hi @Ike@ACE ,

  1. Create the service that lists the drop down data in the infotable format
  2. Bind the service ALL DATA output to drop down widget and select the column to be displayed( ex: R1)
  3. Expand the SELECTED ROW and bind the required column (R1) to  a custom service as input

Capture.PNG

 

 

2 replies

5-Regular Member
December 31, 2020

Hi @Ike@ACE,

 

Maybe these post can help to connect the dropdown widget selection to a custom service:

 

https://community.ptc.com/t5/ThingWorx-Developers/Need-to-pass-values-from-list-dropdown-to-grid-service/td-p/509161

https://community.ptc.com/t5/ThingWorx-Developers/List-DropDown-Selection/td-p/518163

 

Hope it helps,

Translate
Ashritha15-MoonstoneAnswer
15-Moonstone
December 31, 2020

Hi @Ike@ACE ,

  1. Create the service that lists the drop down data in the infotable format
  2. Bind the service ALL DATA output to drop down widget and select the column to be displayed( ex: R1)
  3. Expand the SELECTED ROW and bind the required column (R1) to  a custom service as input

Capture.PNG

 

 

Translate