Robert6548600
Posts: 0
Joined: Sun Jan 05, 2014 12:52 am

Linking a list to database record

OK, It is saving the correct localstorage variables. just checked in chrome... doesnt show the localstorage in firefox or at least I couldnt find it lol

Robert6548600
Posts: 0
Joined: Sun Jan 05, 2014 12:52 am

Linking a list to database record

OK, figured it out... was using "where id" instead of "where _id"

kay
Posts: 0
Joined: Fri Oct 31, 2014 2:24 pm

Linking a list to database record

Hi Robert/Alena,

I am struggling a bit with this and going round in circles. I followed the tutorial and got it to work, but it's confusing me on transferring that knowledge gained on that activity to calling the info from a database.

I am taking the records from my own database and assume you were doing something similar Robert. I have all my records displaying. But only want one specific record to display at a time.

I understand the need for a variable to pass the unique ID, so have set that up, but I am not sure of the next steps to pass the variable before the success response to retreive a single record.

If you did something similar Robert, will you post the steps here? Or if anyone has an idiot proof Appery.io example that I could attempt to follow, could you post a link?

Thanks and much appreciated.

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

Linking a list to database record

Hi Robert,

you can use following JS code in FF browser console to see what stored in certain LSV.

pre

//Where "nameLSV" is your LSV name.
var nameValue = localStorage.getItem("nameLSV");

console.log("nameValue = '" + nameValue + "'");

/pre

Regards.

Return to “Issues”