Skip to main content

setDSValue

setDSValue

Sets the DataSet value at the given path. When jsonData is an array, the whole list is replaced (update); otherwise the value is merged into the target field or record.

Parameters

  • path (String): The data path to write to (e.g. "ds.field", "ds.list")
  • jsonData (dynamic): The value to set (scalar, object, or array)

Returns: void

Example

$vm.setDSValue("dummy-json_Call.query.limit", "5");

Related

  • $vm.getDSValue(path) — read the DataSet value at a given path
  • $vm.getProviderData(path) — read provider data