Backendless Support
 
Waiting for user's response

Updating User properties from Server Code?

Hi all,

How can I update a property that I added to the User table from the Server code (js)? When I attempt to using Backendless.Persistence.of( User ).save( user ) I get an error "property 'password' is required."

Thank you

Leave a Comment

Comments (3)

photo
1

Hi Gal,

Is this with the 3.x or the 4.0 backend?

Mark

photo
1

3.x

photo
1

Here's a working sample which retrieves and updates a user object:

https://jsfiddle.net/ytL7mhLL/

How do you retrieve the user object in your code?