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

Hi Gal,

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

Mark

3.x

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?