Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Deleting of items

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

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Deleting of items

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

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

Deleting of items

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.

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Deleting of items

hi, i followed ur steps

Image Image

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Deleting of items

and it stll does not works

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

Deleting of items

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.

Lim Samantha
Posts: 0
Joined: Wed Jun 11, 2014 6:50 am

Deleting of items

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

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

Deleting of items

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.

Return to “Issues”