Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an update operation to the execution queue.
addUpdateAction: function(item, updateItemUri, actionContext)
Usage
exampleActionSequence.addUpdateAction(item, updateItemUri, actionContext);
Parameters
Parameter |
Definition |
|---|---|
item |
A JavaScript object with the modified data. |
updateItemUri |
(Optional) The URI of the item being updated, if different than the item. |
actionContext |
(Optional) The state object for this operation. |
Remarks
Use the addUpdateAction method to add to the queue an operation that modifies an existing record through the data service. You pass the data to update as a JavaScript object in the item parameter.