Page 1 of 2

List Database

Posted: Thu Jun 26, 2014 2:14 pm
by Marco Spera

I have a database that has two column that receive input.

when I add the service to create, I get both column names available to me under the request tab. I am therefore able to use the create service perfectly.

Now I want to use the list service. When I go to map the column names under the response tab, I no longer have the option to map both column names, only one.

Why is this? Should it not show be both names so that I can map them accordingly?

Thanks!


List Database

Posted: Thu Jun 26, 2014 3:27 pm
by Evgene Karachevtsev

Hello Marco,

Could you try to delete the service and recreate it. This can only happen if you accidentally deleted one response parameter, or created service in the application and then added a column to the collection database.
You may try to delete it and recreate or try add response parameter manually.


List Database

Posted: Thu Jun 26, 2014 3:28 pm
by Marco Spera

I believe you are right Evgene, that I did create an additional column after creating the service.

If I delete the service, and recreate it, I am assuming I will lose all my mapping and connections?

Is it possible to manually add the addition column?


List Database

Posted: Thu Jun 26, 2014 4:13 pm
by Evgene Karachevtsev

Marco,

Yes if you delete and create again, you will lose the entire mapping.
Of course you can add response option you need in the service settings manually


List Database

Posted: Thu Jun 26, 2014 4:22 pm
by Marco Spera

Ok that should work perfectly.

When I now want to use the list service, can I map two different columns to the same label?

So that if column 1 has the word "Mr" and Column 2 has the word "Smith", the label would show as "Mr Smith".

I cannot seem to achieve the right mapping for this?


List Database

Posted: Thu Jun 26, 2014 5:34 pm
by Evgene Karachevtsev

Marco,

No, this should not be done. One value will erase other one. Please look at this link, it should be helpful: https://getsatisfaction.com/apperyio/...


List Database

Posted: Thu Jun 26, 2014 7:43 pm
by Marco Spera

Thanks!


List Database

Posted: Fri Jun 27, 2014 2:13 pm
by Marco Spera

When I am using the list service, my app creates a list as follows:

Item 1...
Item 2...
Item 3....

Is it possible to place either a button or an input between these lists?

like this:

Item 1....
BUTTON
item 2....
BUTTON
item 3....
BUTTON


List Database

Posted: Fri Jun 27, 2014 2:19 pm
by Marco Spera

Also,

My listing items works perfectly when I use the radio button coponent.

How can I do the listing into input/label rather than radio button.

When I try to use either input/label I only receive one item from my list, as I am not able to map the $[]


List Database

Posted: Fri Jun 27, 2014 4:01 pm
by Evgene Karachevtsev

Hello Marco,

You should do mapping to grid: http://devcenter.appery.io/documentat...
and in the grid, you may place the desired components (buttons, labely etc.)