Page 1 of 2
I am having trouble getting the _id from an item in the database to display.
Posted: Sun Aug 31, 2014 3:32 am
by Ellen Schlechter
I have it mapped so that in my list service, it should display the id in a label.
But instead it simply says item it.
''
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.
I am having trouble getting the _id from an item in the database to display.
Posted: Sun Aug 31, 2014 6:06 am
by Illya Stepanov
Hi Ellen,
Could you please unfold the "itemid_231", as it's not obvious where you've mapped it right now.
I am having trouble getting the _id from an item in the database to display.
Posted: Sun Aug 31, 2014 1:54 pm
by Ellen Schlechter
I am having trouble getting the _id from an item in the database to display.
Posted: Sun Aug 31, 2014 1:59 pm
by Illya Stepanov
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.
I am having trouble getting the _id from an item in the database to display.
Posted: Sun Aug 31, 2014 2:03 pm
by Ellen Schlechter
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.
I am having trouble getting the _id from an item in the database to display.
Posted: Mon Sep 01, 2014 1:10 am
by Ellen Schlechter
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:
Sign in user:jane pw:123
click a book at the top of the screen
open the collapsible block
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.
I am having trouble getting the _id from an item in the database to display.
Posted: Mon Sep 01, 2014 2:53 am
by Yurii Orishchuk
Hi Eascards,
You did not link "_id" parameter to your label with name "itemid_231"
See details: http://prntscr.com/4iinsj/direct
Regards.
I am having trouble getting the _id from an item in the database to display.
Posted: Mon Sep 01, 2014 1:59 pm
by Ellen Schlechter
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.
I am having trouble getting the _id from an item in the database to display.
Posted: Mon Sep 01, 2014 11:42 pm
by Yurii Orishchuk
Hi Escards,
Did you make link like i've suggested you in previous message?
It's necessary to get it work.
Regards.
I am having trouble getting the _id from an item in the database to display.
Posted: Tue Sep 02, 2014 2:04 am
by Ellen Schlechter
I did make that link but there seems to be a deeper problem that I wasn't originally aware of.