eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

Update Service

I've tried that but I still get the error message like in the last screen shot. Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Update Service

Eascards,

you still have the same value in dbId and itemID fields.

Please populate it with right values and you will recieve correct response.

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

Update Service

They don't have a matching id in the latest screenshot. I didn't change the database id because I thought it was right.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Update Service

Eascards

Please follow this tutorial to understand how "update" service works:

http://devcenter.appery.io/tutorials/...

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

Update Service

  1. Added the label, changed the name, and made it invisible. Image

    1. Updated the mapping- Mapped _id to label I just created (itemid)
      Image

    2. Saved the task into the browser’s local storage
      Image

    3. Adding and binding the delete service to the page
      Image

    4. Invoked the service
      Image

    5. Updated the list after deleting Image

      After those steps, it didn't work so that is where I started looking in the "settings" for the service.
      Image

    6. The database id that I use comes from this box.
      Image

    7. The object id that I use come from the _id column.
      Image

      After going through all of those steps, I still get these error messages:

      Image
      When I opened the console, the first error was there. After clicking delete three time, I got the next three.
      Image

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

Update Service

Hello -

First of all - check if "_itemid" local storage variable is created and populated with the needed id value.

In your mapping I see (4th screenshot), you've binded only id, also you should bind the session token.

And check the errors that you got in browser console - click on that messages.
As I see your login service even didn't pass correctly.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

Update Service

  1. The component is just the whole collapsible block and the target component is itemid.(the label that was turned invisible.)
    1. Corrected--Thanks!!
    2. I didn't get an error message when I logged in. I am not smart enough to know what this means but my guess would be that it is having trouble connecting to the database.
      Image
Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Update Service

Please click on the red marked message on the left side and post a screenshot.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

Update Service

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Update Service

Hi Eascards,

That means you have passed "{database_id}" value. This value should replaced with real DB id.

Please take a look on screen shot to be sure you have right service settings:

http://prntscr.com/48cbxk/direct

Regards.

Return to “Issues”