Page 4 of 9

Update Service

Posted: Tue Jul 29, 2014 10:07 pm
by eascards

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


Update Service

Posted: Tue Jul 29, 2014 10:14 pm
by Yurii Orishchuk

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.


Update Service

Posted: Tue Jul 29, 2014 10:36 pm
by eascards

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


Update Service

Posted: Wed Jul 30, 2014 1:42 am
by Yurii Orishchuk

Eascards

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

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

Regards.


Update Service

Posted: Wed Jul 30, 2014 10:23 pm
by eascards
  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


Update Service

Posted: Wed Jul 30, 2014 11:09 pm
by Illya Stepanov

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.


Update Service

Posted: Thu Jul 31, 2014 3:59 am
by eascards
  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

Update Service

Posted: Thu Jul 31, 2014 4:10 am
by Illya Stepanov

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


Update Service

Posted: Thu Jul 31, 2014 4:18 am
by eascards

Update Service

Posted: Fri Aug 01, 2014 12:24 am
by Yurii Orishchuk

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.