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 a remove operation to the execution queue.
addRemoveAction: function(item, actionContext)
Usage
exampleActionSequence.addRemoveAction(item, actionContext);
Parameters
Parameter |
Definition |
|---|---|
Item |
A JavaScript object with a __metadata property that specifies the resource URI of the data item to remove. |
actionContext |
(Optional) The state object for this operation. |
Remarks
Use the addRemoveAction method to add to the queue an operation that deletes a record through the data service. You pass the data to delete as a JavaScript object in the item parameter.