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 it mapped so that in my list service, it should display the id in a label. Image
But instead it simply says item it. Image ''

Any advise on how to get it to work correctly? I need to have it there because I have a LSV linked to the label that allows me to update information.

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

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

Hi Ellen,

Could you please unfold the "itemid_231", as it's not obvious where you've mapped it right now.

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

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

What service you're calling to pass data into this label? Also check in developer tools (F12) in network tab what data is actually passing.

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.

The screen shot from above is from the list service. What I am trying to do here is get the id to display because I then save it to LSV which would allow me to update information. When I try to update info these are the error I get. Image Image

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.

If it would help you to understand the issue more, I shared the app with you. (MyApp). The problem is on Screen1.

To Reproduce this issue:

  1. Sign in user:jane pw:123

  2. click a book at the top of the screen

  3. open the collapsible block

  4. at the bottom in red, it should be the item id but instead it just says "item id".

    I need it to have the id so that I can update using the two inputs that I have in the block.

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.

Hi Eascards,

You did not link "_id" parameter to your label with name "itemid_231"

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

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.

Any advise on how to get the update feature working again? I didn't change anything from when it was working to make it stop but now I have tried to "rewire" the whole thing and it isn't liking it.

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.

Hi Escards,

Did you make link like i've suggested you in previous message?

It's necessary to get it work.

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 did make that link but there seems to be a deeper problem that I wasn't originally aware of. Image Image

Return to “Issues”