Carter Reid Burbage
Posts: 0
Joined: Wed Feb 27, 2013 10:20 pm

REST Database help!

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 ?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

REST Database help!

Hi, I'll update when find a solution.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

REST Database help!

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.

Carter Reid Burbage
Posts: 0
Joined: Wed Feb 27, 2013 10:20 pm

REST Database help!

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

REST Database help!

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/...

Carter Reid Burbage
Posts: 0
Joined: Wed Feb 27, 2013 10:20 pm

REST Database help!

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!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

REST Database help!

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

Return to “Issues”