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

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

SOLVED
nbhagtani
Guest

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?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

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

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

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

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?

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

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

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

ok. Is the custom service running on Mashup load?

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

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

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

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

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

yes i did

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

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

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.