Skip to content

defaultObjectExecuteAction ​

Overview ​

The VUEDA specific implementation for reactive-helper's object executeAction crud function. Sends a named action to the model's detail action url.

Signature ​

defaultObjectExecuteAction(args)

Parameters ​

NameTypeRequiredDescription
argsobjectyesThe arguments object.

args Properties ​

NameTypeRequiredDefaultDescription
acknowledgeWarningsstringWarning digest from a prior 409, sent as Acknowledge-Warnings.
actionstringThe action name, used as the url's action segment.
dryRunbooleanWhen true, sends the request in dry-run mode.
formDataanyForm values submitted with the action, sent as the request body.
pkstringThe primary key of the object to act on.
requestMethodstringThe HTTP method for the request. Defaults to "PUT".
targetobjectVUEDA specific arguments for the CRUD operation.

Returns ​

CancellablePromise

  • A cancellable promise.

Source ​

client/lib/utils/objectCrud.js:292