Skip to main content
1-Visitor
March 6, 2019
Solved

Iterate over returned service data "All Data" inside mashup

  • March 6, 2019
  • 2 replies
  • 1095 views

I have a list which selection I want to specify on load using the "isSelected" property, as well as a validator and an expression. However, this only works for the first row of data returned by my service, is there a way to iterate over the returned data in the mashup so that my validator checks all rows of returned data?

 

returned infotablereturned infotable

 

validator checks it isSelected is truevalidator checks it isSelected is true

 

if isSelected is true, expression takes selected propertyif isSelected is true, expression takes selected property

 

selected property is set as selectedText in listselected property is set as selectedText in list

 

list with specific selection on loadlist with specific selection on load

 

Best answer by slangley

Hi @jorgeporras.

 

Based on our understanding of your issue, you would use the SelectedItems property in the List widget to set the selected row.  Here is a link to more information on the List widget.

 

If you have additional questions, please provide more information on your use case.

 

Regards.

 

--Sharon

2 replies

slangleyCommunity ManagerAnswer
Community Manager
March 6, 2019

Hi @jorgeporras.

 

Based on our understanding of your issue, you would use the SelectedItems property in the List widget to set the selected row.  Here is a link to more information on the List widget.

 

If you have additional questions, please provide more information on your use case.

 

Regards.

 

--Sharon

Community Manager
March 25, 2019

Hi @jorgeporras.

 

Please let us know if you found a solution to your issue.  If the previous response allowed you to solve it, please mark it as the Accepted Solution for the benefit of others with similar questions.

 

Regards.

 

--Sharon