Hi
Is there a javascript for me to write? I want to store a variable from the default user collection column from a database into the local storage.
Is this the correct way --- localStorage.setItem(‘userId’,({ Apperyio.User.id:_id}));
Hi
Is there a javascript for me to write? I want to store a variable from the default user collection column from a database into the local storage.
Is this the correct way --- localStorage.setItem(‘userId’,({ Apperyio.User.id:_id}));
Hello Kate,
Please look this documentation: https://devcenter.appery.io/documenta...
How do I use this the getUserId in this document:
https://devcenter.appery.io/documenta...
Is it something like this
Apperyio.User.getUserId({"username": "test", "password": "test"}).then(function(result){
alert("success" + JSON.stringify(result));
},function(error) {
alert("error" + JSON.stringify(error));
});
But how do I make the "username":"test" into "username:"database_columnName" ?
Hi
I solve it already. Thanks