Page 1 of 1

REST Database help!

Posted: Wed Mar 06, 2013 2:37 am
by Carter Reid Burbage

I was hesitant at first to ask another question up here. But I have not yet been able to find a good way online to do this. I need to know how to get corresponding information about the current logged in user. As in fields like " Address, City.. etc " I want it displayed on a screen. Basically there is a balance field that I'll be able to control that I want to show up on the users device. How to do this ?


REST Database help!

Posted: Wed Mar 06, 2013 9:29 am
by Kateryna Grynko

Hi, I'll update when find a solution.


REST Database help!

Posted: Wed Mar 06, 2013 12:46 pm
by Kateryna Grynko

how to get corresponding information about the current logged in user

Our database doesn't provide this information. If you create your own collection in database to store this data you can save users logged in and delete them when they logout. But the user can forget to logout, so he won't be deleted.

I want it displayed on a screen. Basically there is a balance field that I'll be able to control that I want to show up on the users device. How to do this ?

You can read/write data in Database via RestServices.


REST Database help!

Posted: Thu Mar 07, 2013 3:22 pm
by Carter Reid Burbage

Well, I understand what you said. But see I have my user account, and when it creates the user it actually makes an identical copy in a collection. When I login with this app I want it to show information from the corresponding collection items for that user.


REST Database help!

Posted: Mon Mar 11, 2013 1:26 pm
by Maryna Brodina

Hello! Sorry for big delay. If you have collection with nesessary data (to read data from Database via RestServices) - select user you need and map nesessary fields. This should help http://docs.tiggzi.com/documentation/...


REST Database help!

Posted: Mon Mar 11, 2013 2:38 pm
by Carter Reid Burbage

I will attempt to implement this ASAP, Basically how I have it set up is that A user is created under the Users tab in the database. Then under a collection I created is a row that has a username field which is identical to the one created in the Users tab. Then a bunch of other fields with data that I will enter in the backend. I just want to be able to link the two up so that whoever logs into the app only their info is being retrieved. I guess what you sent me will help, but if you know of any other tips and tricks let me know!

Thank you for your time!


REST Database help!

Posted: Tue Mar 12, 2013 8:13 am
by Maryna Brodina

Hi, there is no tricks:) You just need to try. Please let us know if you'll get any problem.