Rik Knijff
Posts: 0
Joined: Fri May 02, 2014 5:15 pm

updating colums with input fields in dynamic Itemlist

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

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

updating colums with input fields in dynamic Itemlist

Hello,

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

Rik Knijff
Posts: 0
Joined: Fri May 02, 2014 5:15 pm

updating colums with input fields in dynamic Itemlist

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?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

updating colums with input fields in dynamic Itemlist

Hi Rik,

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

Rik Knijff
Posts: 0
Joined: Fri May 02, 2014 5:15 pm

updating colums with input fields in dynamic Itemlist

Yes ofcourse here is the list_service mapping:
Image

And here is the update_service mapping:
Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

updating colums with input fields in dynamic Itemlist

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).

Rik Knijff
Posts: 0
Joined: Fri May 02, 2014 5:15 pm

updating colums with input fields in dynamic Itemlist

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!

Deki
Posts: 0
Joined: Tue Apr 15, 2014 4:53 pm

updating colums with input fields in dynamic Itemlist

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

updating colums with input fields in dynamic Itemlist

Hi Deki,

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

Deki
Posts: 0
Joined: Tue Apr 15, 2014 4:53 pm

updating colums with input fields in dynamic Itemlist

Hi,

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

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

Return to “Issues”