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 insert operation to the execution queue.
addInsertAction: function(item, resourceSetUri, actionContext)
Usage
exampleActionSequence.addInsertAction(item, resourceSetUri, actionContext);
Parameters
Parameter |
Definition |
|---|---|
item |
A JavaScript object that contains the data to insert. |
resourceSetUri |
The URI of the resource set into which the data is inserted. |
actionContext |
(Optional) The state object for this operation. |
Remarks
Use the addInsertAction method to add to the queue an operation that inserts a new record through the data service. You pass the data to insert as a JavaScript object in the item parameter.