Page 1 of 2
Mapping Distinct Response to Mobile Select Menu
Posted: Tue Nov 18, 2014 5:03 pm
by Beth Lazar
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:
Here is the correct response from the DB service:
And this is how the service response was setup after clicking the "import as response" button on the test tab:
What am I missing here? Nothing is showing up in my menu as it is currently mapped.
Mapping Distinct Response to Mobile Select Menu
Posted: Tue Nov 18, 2014 7:14 pm
by Maryna Brodina
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.
Mapping Distinct Response to Mobile Select Menu
Posted: Tue Nov 18, 2014 7:26 pm
by Beth Lazar
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?
Mapping Distinct Response to Mobile Select Menu
Posted: Wed Nov 19, 2014 1:28 am
by Yurii Orishchuk
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.
Mapping Distinct Response to Mobile Select Menu
Posted: Wed Nov 19, 2014 4:25 pm
by Beth Lazar
Hi Yurii,
Mapped as requested. Still no values in my dropdown. 
Still have same response as above when testing the db service.
Mapping Distinct Response to Mobile Select Menu
Posted: Wed Nov 19, 2014 11:21 pm
by Yurii Orishchuk
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.
Mapping Distinct Response to Mobile Select Menu
Posted: Wed Nov 19, 2014 11:34 pm
by Beth Lazar
I deleted the service and recreated it. It is now working. Thanks for your help!
Mapping Distinct Response to Mobile Select Menu
Posted: Thu Nov 20, 2014 4:39 am
by Yurii Orishchuk
Hi Beth,
Thanks for your update.
Glad it works.
Regards.
Mapping Distinct Response to Mobile Select Menu
Posted: Sat May 30, 2015 12:10 pm
by Hany Amin
please advice me
Mapping Distinct Response to Mobile Select Menu
Posted: Sat May 30, 2015 2:51 pm
by Evgene Karachevtsev
Hello Hany,
Could you please detail your issue?