Page 1 of 2

save item id

Posted: Mon Sep 30, 2013 3:59 pm
by Michael4771079

Hi,
I am trying to save a collection item id,

Image

I call it in a service and mapped it to a label, but all I get is "id" no number.

Image


save item id

Posted: Mon Sep 30, 2013 4:26 pm
by Maryna Brodina

Hello! Could you show us mapping screenshot?


save item id

Posted: Mon Sep 30, 2013 4:30 pm
by Michael4771079

No prob Marina,

Image


save item id

Posted: Mon Sep 30, 2013 5:33 pm
by Maryna Brodina

So you do mapping to localStorage variable. How do you pass that localStorage variable to corresponding field? What code you use?


save item id

Posted: Mon Sep 30, 2013 5:36 pm
by Michael4771079

I just set localstorage to variable


save item id

Posted: Mon Sep 30, 2013 8:00 pm
by Maryna Brodina

Please show how do you do that - code you use or screenshot would help.


save item id

Posted: Mon Sep 30, 2013 8:37 pm
by Michael4771079

I mapped it to the label on service call,
the result is as above.
I intended to save it to localstorage variable, and use in a delete service.

the result you see is the mapping result.
there is no point to save this as it not the value required.
as item required no did not map.

I know how to do the rest of the process, the _id in collection does not have a col title
so what I needed to know, is how to call or save the collection item id


save item id

Posted: Mon Sep 30, 2013 8:46 pm
by Michael4771079

and as regards the save to localstorage, it done as normal

s/s


save item id

Posted: Mon Sep 30, 2013 8:48 pm
by Michael4771079

Image

Image

3 hours for this response!


save item id

Posted: Mon Sep 30, 2013 10:59 pm
by Illya Stepanov

Hi - what service you invoking for response?