Beth Lazar
Posts: 0
Joined: Tue Nov 18, 2014 5:03 pm

Mapping Distinct Response to Mobile Select Menu

Trying to follow the instructions found here for mapping distinct response from db:

https://getsatisfaction.com/apperyio/...

But apparently you have changed the UI a bit and I am unable to map the $ response to the mobileselectmenu:

Image

Here is the correct response from the DB service:

Image

And this is how the service response was setup after clicking the "import as response" button on the test tab:

Image

What am I missing here? Nothing is showing up in my menu as it is currently mapped.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mapping Distinct Response to Mobile Select Menu

Hello!

It is better to retrieve no distinct, but entire object from DB. There won't be such problem this way if you map specific parameter to a specific component.

Beth Lazar
Posts: 0
Joined: Tue Nov 18, 2014 5:03 pm

Mapping Distinct Response to Mobile Select Menu

Hmm, so I'm trying to populate a dropdown with the distinct values and then get the items that are associated with those distinct values based on the value of the dropdown.

How would I populate the dropdown with just distinct values if I have the entire list?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Mapping Distinct Response to Mobile Select Menu

Hi Beth,

You need to create link from $ response parameter to select option component.

Please make mapping like on screen shot:

http://prntscr.com/57ts2g/direct

Regards.

Beth Lazar
Posts: 0
Joined: Tue Nov 18, 2014 5:03 pm

Mapping Distinct Response to Mobile Select Menu

Hi Yurii,

Mapped as requested. Still no values in my dropdown. :(

Image

Still have same response as above when testing the db service.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Mapping Distinct Response to Mobile Select Menu

Hi Beth,

Did you invoke this service before option the select?

I've tried it and it works.

So please give us your app public link and describe steps to reproduce this problem.

Regards.

Beth Lazar
Posts: 0
Joined: Tue Nov 18, 2014 5:03 pm

Mapping Distinct Response to Mobile Select Menu

I deleted the service and recreated it. It is now working. Thanks for your help!

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Mapping Distinct Response to Mobile Select Menu

Hi Beth,

Thanks for your update.

Glad it works.

Regards.

Hany Amin
Posts: 0
Joined: Sat May 30, 2015 12:10 pm

Mapping Distinct Response to Mobile Select Menu

please advice me Image Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Mapping Distinct Response to Mobile Select Menu

Hello Hany,

Could you please detail your issue?

Return to “Issues”