cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Selected Rows Values are not available from Infotable property

SOLVED
Highlighted
Not applicable

Selected Rows Values are not available from Infotable property

Hi,

I have MyCustomThing having (employees) infotable as property, and script-service  to fetch data and set that infotable property.

On Mashup, when i call GetPropetryValue() and map this Infotable(employees) to the grid, then data loading into grid.

But selected Row values are not having data of selected row to load Gauge widget or label.

Is there anything i am missing.

It will work, if i set service return type as infotable and map to Grid.

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Selected Rows Values are not available from Infotable property

Hi Raj,

I have attached the modified entities. This is what I did

1) I created another infotable property InfoTableProp2 in TestThing

2) Created a service called getInfoTableValues and I used the infotable function UNION of get the rows of both the infotable properties.

3) Used the getInfoTableValues service in the mashup to display all the rows in one grid , and bound the selected rows of the service to the second grid.

View solution in original post

17 REPLIES 17

Re: Selected Rows Values are not available from Infotable property

Hi Raj, what's triggering the selectedRow event? which field are you trying to bind from SelectedRow to the Gague?

Re: Selected Rows Values are not available from Infotable property

Hi Sushant.

Thanks for addressing this issue.

what's triggering the selectedRow event? - > This event is not bind trigger to anything on mashup.


which field are you trying to bind from SelectedRow to the Gague?

On grid row select, There are two fields from selected rows that i am trying to bind for "Data" and "MaxValue" of Gauge widget.

Re: Selected Rows Values are not available from Infotable property

Hi Raj,

Please elaborate a little more on your use case.

Not applicable
(in response to jdass)

Re: Selected Rows Values are not available from Infotable property

Hi

Task is to set infotable property of thing via service, now retrieve this property and map to mashup grid.

on selecting any row of that grid, selected Rows columns should have values from that row ...but there values are not updating from selected row.

Re: Selected Rows Values are not available from Infotable property

Are you trying to map the infotable values to the gauge? That would not work.

Instead, try the following: drop two grids onto a mashup. Bind All data from your service onto one of the grids. Then bind Selected Rows of your service onto the second grid. Load your mashup and try making a selection from grid 1.

Re: Selected Rows Values are not available from Infotable property

I have same use case, In same example can you map second grid from selected rows of Infotable as below (If you expand InfoProp you will get selected row)

because i have 5 infotable in property, how i can map all selected rows to just one Grid.

Re: Selected Rows Values are not available from Infotable property

attaching example to reproduce this issue.

Re: Selected Rows Values are not available from Infotable property

Hi Raj,

I have attached the modified entities. This is what I did

1) I created another infotable property InfoTableProp2 in TestThing

2) Created a service called getInfoTableValues and I used the infotable function UNION of get the rows of both the infotable properties.

3) Used the getInfoTableValues service in the mashup to display all the rows in one grid , and bound the selected rows of the service to the second grid.

View solution in original post

Re: Selected Rows Values are not available from Infotable property

The output mashup: