Skip to main content
1-Visitor
July 7, 2022
Question

How to access what was selected in Collection widget

  • July 7, 2022
  • 1 reply
  • 2340 views

Hello everyone,

I have a service that returns an infotable with a column that contains multiple rows with infotables.

 

I want to use a collection widget to display the nested infotables dynamically (depending on how many rows there are). 

 

The user is supposed to select something in one of the infotables. This selection, I want to use!

HD_10225728_0-1657208530767.png

HD_10225728_2-1657208671778.png

 

This were the bindings I created. But in the label which should display the selection data, nothing is displayed. Is this a bug or am I doing something wrong?

 

Note: please disregard [object object], I have set DisplayField, StateField, ValueField but for privacy reasons I took the screenshot before I set it.

 

I would appreciate any help!

 

Thank you!

 

1 reply

15-Moonstone
July 8, 2022

@HD_10225728 : To the label, can you please try binding the SelectedText property of the list?

abjain_0-1657261272027.png

 

1-Visitor
July 8, 2022

Thank you for your help! Sorry, I described it maybe not right.

 

I want to pass back what was selected in the static collection mashup, to the "main" mashup that contains the collection widget. 

HD_10225728_0-1657262065031.png

 

15-Moonstone
July 25, 2022

Hi,

 

MashupGlobalPropertyBinding property of Collection widget can be used to achieve above mentioned functionality.

Reference Link 

 

Hope this Helps!!