Catalyst Creations
Posts: 0
Joined: Sat Dec 28, 2013 1:34 am

Mapping a list service to a select menu??

Is it possible to map a database collection to a select menu? if so how would I map it? ive tried the list and query service but doesnt seem to list anything... ive read all the docs about select but no mention of mapping.. unless i missed it..

Catalyst Creations
Posts: 0
Joined: Sat Dec 28, 2013 1:34 am

Mapping a list service to a select menu??

I forgot to mention that im mapping 10 items from database collection.. only one item will show up?? how do i get all 10?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping a list service to a select menu??

Hi,

As Mobile Select Menu has a child item. You have to create Response mapping from collection to the child item.
Please check this http://docs.appery.io/documentation/r... (see Select (Select menu) section)

Catalyst Creations
Posts: 0
Joined: Sat Dec 28, 2013 1:34 am

Mapping a list service to a select menu??

Hi Alena,

Thanks for replying,

I understand how to map the response, but how would i go about adding 10 items in the response when the select menu has only one child item?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping a list service to a select menu??

Connection from $ to the item is required to populate all records from the collection.
Also this post will be helpful https://getsatisfaction.com/apperyio/...

Catalyst Creations
Posts: 0
Joined: Sat Dec 28, 2013 1:34 am

Mapping a list service to a select menu??

I already tried that.. ive mapped the $ to the item and one of the collection values to the value and label, but how do I get the 9 others to display? its only showing the first one... I checked the other posts to no avail.... Sorry to be a pain. Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping a list service to a select menu??

In this case Size1, Size2... are column names, did you create these parameters manually?
Please post a screen shot of your Database collection.

Catalyst Creations
Posts: 0
Joined: Sat Dec 28, 2013 1:34 am

Mapping a list service to a select menu??

No Created the database then created the list database service which automaticcaly had them setup... Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mapping a list service to a select menu??

There should be collection with 1 column 'Size' and 10 rows with values.

Catalyst Creations
Posts: 0
Joined: Sat Dec 28, 2013 1:34 am

Mapping a list service to a select menu??

Okay thank you. Does that mean if i want to set-up a update for each row im going to have to use each object number? Hence why i had it on one row... is there js to do this quicker or neater?

Return to “Issues”