Page 1 of 2

updating colums with input fields in dynamic Itemlist

Posted: Sat May 03, 2014 12:11 pm
by Rik Knijff

I want to show a list with items from the database and that you be able to update the items in the database with the input fields. Is this possible?
Image


updating colums with input fields in dynamic Itemlist

Posted: Sat May 03, 2014 1:39 pm
by Igor

Hello,

Yes it's possible. You can use update service
http://docs.appery.io/documentation/b...


updating colums with input fields in dynamic Itemlist

Posted: Sat May 03, 2014 2:26 pm
by Rik Knijff

The problem is I know you can use update service, but I am only been able to update the first column in my database no matter wich input field I use.

what am i doing wrong? most I use arrays?


updating colums with input fields in dynamic Itemlist

Posted: Sat May 03, 2014 3:01 pm
by Illya Stepanov

Hi Rik,

Can you show us you're mapping within the update service?


updating colums with input fields in dynamic Itemlist

Posted: Sat May 03, 2014 3:25 pm
by Rik Knijff

Yes ofcourse here is the list_service mapping:
Image

And here is the update_service mapping:
Image


updating colums with input fields in dynamic Itemlist

Posted: Mon May 05, 2014 5:52 pm
by Kateryna Grynko

Hi Rik,

Have you tried testing your "update" service without user interface from service Test tab? And you can watch which data post from client to server (for example using chrome developer console).


updating colums with input fields in dynamic Itemlist

Posted: Mon May 05, 2014 9:16 pm
by Rik Knijff

It did help without the user interface, but I figured out that I had to configure the button so they could modify the local variables, thanks for all the help!


updating colums with input fields in dynamic Itemlist

Posted: Fri May 09, 2014 8:39 pm
by Deki

Rik, how were you able to solve the problem? I am having similar issues. I want to both read and update from database using input field.


updating colums with input fields in dynamic Itemlist

Posted: Fri May 09, 2014 9:01 pm
by Kateryna Grynko

Hi Deki,

Could you please show what you already tried and what is not working?


updating colums with input fields in dynamic Itemlist

Posted: Fri May 09, 2014 10:27 pm
by Deki

Hi,

I am referring to this thread here https://getsatisfaction.com/apperyio/...

I'm feeling disappointed that it cannot be resolved :(