SP.ListItem.validateUpdateListItem Method (sp.js)
Validates and sets the values of the specified collection of fields for the list item.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.ListItem.validateUpdateListItem()
Parameters
formValues
Specifies a collection of field internal names and values for the given field.It MUST NOT be NULL.
bNewDocumentUpdate
Specifies whether the list item is a document being updated after upload.
formValues
bNewDocumentUpdate
Return value
Array
REST resource endpoint
See ListItem resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/lists(listid)/items(itemid)/validateUpdateListItem(formValues,bNewDocumentUpdate)
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/lists(listid)/items(itemid)/validateUpdateListItem(formValues,bNewDocumentUpdate)
Resource parameters
formValues
bNewDocumentUpdate