Skip to main content
1-Visitor
October 8, 2018
Solved

Using the SelectedText feature of a dropdown widget on a repeater

  • October 8, 2018
  • 1 reply
  • 2255 views

I currently have two mashups:

1. Mashup A: has a repeater widget 

2. Mashup B: a mashup that is going to be a row in the repeater widget in Mashup A

very similar to what's shown in this video: https://www.youtube.com/watch?v=zXrKq1tvntU&list=WL&index=6&t=0s

 

In Mashup B, there is a dropdown widget which has all the selections and is also bound to a mashup parameter so that its selectedText can be populated in Mashup A for that row. Although all the parameters and data are being passed in properly for other widgets like label, textbox, etc., the dropdown selectedText feature does not work in this case and it just shows no selection. 

 

Is there a way to get the selectedText feature of a dropdown widget to work in a repeater using a mashup parameter?

 

I did look at https://www.ptc.com/en/support/article?n=CS252413 and tried the "work around", but that also did not work. 

 

Thank you!

Best answer by PaiChung

First of all, with 8.2 and higher we recommend using the collection widget.

for the dropdown - does your Value field match up with the selected text?

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
October 9, 2018

First of all, with 8.2 and higher we recommend using the collection widget.

for the dropdown - does your Value field match up with the selected text?

leeejw7171-VisitorAuthor
1-Visitor
October 9, 2018

Yes, they match.

In Mashup B, the dropdown is bound to a datatable which populates the selections in the dropdown, and the SelextedText property of the dropdown is bound to a mashup parameter. In Mashup A, this mashup parameter is bound to a column of data.