I did this tutorial http://docs.appery.io/tutorials/build...
But when I create the service no "acl" is created. So when I add the parameter manually it still not working.
It stores the data but it does not connect the data to a user.
I did this tutorial http://docs.appery.io/tutorials/build...
But when I create the service no "acl" is created. So when I add the parameter manually it still not working.
It stores the data but it does not connect the data to a user.
Hello! Could you clarify what code you've added to mapping?
ok in the acl I added this code
var acl = {};
acl[value]= { "read": true, "write": true };
return acl;
Should be working if userId and localStorage are correct.Please check on back-end admin console if the record was saved. Could you also clarify what do you mean on "not connect the data to a user"? How do you check that?
When I login with a user i registered and want to display the data. It does not give me the data. When I check on the database after registration i see the acl on my data collection is empty.
Do you send rest of feelds correctly? Please check what service returns - on service Complete event add the following code:
preconsole.log(jqXHR.responseText);/pre and check console
Ok I will do this. And to answer the previous question. It stores the id in local storage.
it only show [] and then on the left in the console I click on login.js line 815 and it go to console.log(jqXHR.responseText);
other code:
listins = new Appery.DataSource(person_login_ShothtermInsurance_list_service, {
'onComplete': function(jqXHR, textStatus) {
console.log(jqXHR.responseText);
I can add again, my local storage is working and do change when i login with different users. But still no data is list after invoking the service on the page show event.
Don't what i am missing...
Hello! Should be working. Could you give us your public app link?