Skip to main content
1-Visitor
June 23, 2017
Solved

Need to pass values from list(dropdown) to grid service

  • June 23, 2017
  • 1 reply
  • 3660 views

Hi,

I have one list(dropdown) which contains all implemented things and am passing selected row - "name" value to the custom service filter whose result is displayed in grid.

Filter value received at custom service is "undefined".

Can anyone tell me why this is happening?

Best answer by nbhagtani

I solved the issue by writing custom service to get list of thing to be displayed on list(previously was using GetImplementingThings service).

This custom get list service uses GetImplementingThings service and returns data in infotable and i pass name of selected row of list to another custom service filter and this time i get filter value properly.

So i don't know why GetImplementingThings service when directly used on mashup doesn't work but got other way to pass value to filter.

Thanks for help.

1 reply

5-Regular Member
June 23, 2017

Hi Nisha Bhagtani​,

Are you using SelectedRowChanged event to call your custom service so that your custom service is called when anything changes in the Dropdown list?

Does the custom service gives result on testing?

nbhagtani1-VisitorAuthor
1-Visitor
June 23, 2017

Before anything changes in dropdown list, the value which is already selected(first row) should get passed to custom service which is not happening.

5-Regular Member
June 23, 2017

ok. Is the custom service running on Mashup load?