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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

nbhagtani
12-Amethyst

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

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?

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

7 REPLIES 7

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?

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

ok. Is the custom service running on Mashup load?

yes its custom service and i have selected on mashup load checkbox

To be specific; did you select Mashup Load checkbox while adding the service in the Data Panel?

yes i did

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.

Announcements


Top Tags