SALES: 1-800-867-1380

update function

Updated: August 24, 2012

Invoked when an item is updated in a table.

function update(item, user, request) { }

item
Type: object

The new state of the item to be updated in the table.

user
Type: object

The user object that represents an authenticated user when authentication is required, otherwise undefined.

request
Type: object

The request object that represents the request for the operation.

Type: undefined

When the update operation succeeds, a response with 200 HTTP status code is returned with the state of the updated item in the body.

You can control data that is inserted by modifying the state of the item object before the execute method is called.

You can override the default success and error behaviors. For more information, see Mobile Services server script reference

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft