Page 5 of 5

Deleting of items

Posted: Wed Aug 06, 2014 12:42 am
by Lim Samantha

Hi, i remove the passing of id to _id request parameter in my delete service datasource mapping as shown.
Image

after deleting, i run my page. and i could not delete items now, and got the same error.
Image
Image


Deleting of items

Posted: Wed Aug 06, 2014 12:43 am
by Lim Samantha

Please help as i really need to get done by this week for a school project... thank you!


Deleting of items

Posted: Wed Aug 06, 2014 3:38 am
by Yurii Orishchuk

Lim,

It's very important to understand what you do.

I'm still see following error http://prntscr.com/4a0atx/direct

So:

1 Check whether you correctly pass "_id" parameter.

2 Check delete service if there "_id" parameter in URL field. See details: http://prntscr.com/4a0bv1/direct

Regards.


Deleting of items

Posted: Thu Aug 07, 2014 9:40 am
by Lim Samantha

hi, i followed ur steps

Image Image


Deleting of items

Posted: Thu Aug 07, 2014 9:47 am
by Lim Samantha

and it stll does not works


Deleting of items

Posted: Thu Aug 07, 2014 10:43 pm
by Yurii Orishchuk

Hi Lim,

Okey, what's now in the delete request? See details in "network" tab of the debugger.

And if you still have there "no id" you should take a look in your LSV whether is here correct id.

Regards.


Deleting of items

Posted: Fri Aug 08, 2014 5:54 am
by Lim Samantha

hi, there is no error now
but when i want to delete the first item, the last item is still being deleted instead.


Deleting of items

Posted: Sun Aug 10, 2014 9:32 pm
by Yurii Orishchuk

Hi Lim,

Please take a look into "delete" request and took your eyes on URL. There should be certain item id(that's you want to delete). If there id from first last - it means that you have wrong passing this "_id" to the service request parameter. So you need to debug it.

Regards.