setField( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Refines a patch operation to set the specified field to the specified value.

Method Declaration
Copy
Method Parameters
fieldstringRequired

Field whose value is set. Nested fields can be specified using dot notation. For example: address.street.


valueanyRequired

Value to set for the specified field.

Returns
Return Type:WixDataBulkPatch
Set field
JavaScript
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?