Skip to main content
Best answer by TonyZhang

In that case, I guess you'll need to create 5 services each explicitly returns the String data you want to display.

Example:

let infotable = <execute service to get the initial infotable>; ← or even make it an input parameter that will be propagated from another service at runtime

let result = infotable.getRow(rowIndex).columnName;

 

Then bind the result to textboxes.

 

FYI, for infotable result, if the infotable output has datashape defined and it only has single row, then you can expand the result in mashup builder and bind each field to widgets as you wish.

 

1 reply

16-Pearl
June 18, 2021

Hi there,

 

I'm afraid it's not possible to bind every column or every row of infotable to widgets.

You can bind All Data (all infotable entries) or Selected Row(s) (some widgets allow selection) to widgets.

 

What you can do however is to configure Grid widgets for example to show only the columns you want to show.

Also, you can create additional services to further process an infotable and return an infotable with certain column(s).

Additionally you can use query type input parameter in a service to return filtered rows that meet some criteria. 

 

Hope that answers your question.

17-Peridot
June 18, 2021

Thanks for your reply. I am not using grid widget. I am using 5 textboxes to show 5 rows of one column. 

TonyZhang16-PearlAnswer
16-Pearl
June 18, 2021

In that case, I guess you'll need to create 5 services each explicitly returns the String data you want to display.

Example:

let infotable = <execute service to get the initial infotable>; ← or even make it an input parameter that will be propagated from another service at runtime

let result = infotable.getRow(rowIndex).columnName;

 

Then bind the result to textboxes.

 

FYI, for infotable result, if the infotable output has datashape defined and it only has single row, then you can expand the result in mashup builder and bind each field to widgets as you wish.