Hi,
I have added a login and reg db to my app,
I have added 4 columns to db, addresses, name, email,mobile
all of these are currently saved in local storage
how do I save these items to db
Hi,
I have added a login and reg db to my app,
I have added 4 columns to db, addresses, name, email,mobile
all of these are currently saved in local storage
how do I save these items to db
Hi, this should help http://docs.tiggzi.com/documentation/...
Hi Michael,
Database Login service in Response parameters contains parameter _id. This is a unique user id. You should map this parameter to LocalStorage variable userId.
To change user parameters you should create the following Rest Service:
codeURL = {database_url}/users/{object_id}
Method = PUT
Settings = choose database settings from the dropdown list./code
Then create Request parameters:
codeX-Tiggzi-Database-Id = {database_id}
X-Tiggzi-Session-Token
object_id
addresses
name
email/codeaddresses, name and email are the columns in users collection that you want to change.
Then you can use the service to save user parameters in the app. Map localStorage variable userId value to request parameter object_id.
Hi,
I have followed the details above but I am not getting updated in database,
I am able to register and login, but the added columns are empty i.e
addresses,name,email and mobile
Hello! Could you send us your mapping screenshot, also screenshots with service settings/request parameters?
Hi Michael,
As I can see, you created the correct Rest Service for saving data to Database.
You should call service "user_update" and as Request parameters addresses, name, mobile use the values you want to save in Database.