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

I am having trouble getting the _id from an item in the database to display.

This time you did not pass item id to "_id" parameter.

See details: http://prntscr.com/4iukhv/direct

Thus you have this error "Object must be present in the request body"

Regards.

Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

I am having trouble getting the _id from an item in the database to display.

I have the id saved in this LSV. Image

And I have it mapped here. Image

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

I am having trouble getting the _id from an item in the database to display.

Hello Escards,

Please click "Add JS" to "_id" request parameter and add following debug JS code:

pre

alert("_id = " + value);
return value;

/pre

Now run your app and you will see what exactly stored in "variable" LSV and passed to "_id" request parameter. Then you can debug your app in accordance to this debug information.

Regards.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

I am having trouble getting the _id from an item in the database to display.

Hello,

On what event do you add this code?
Please tell us steps to test your app?

Return to “Issues”