Update fields of type Note with ValidateUpdateListItem

Eric Schoen 21 Reputation points

We are trying to use ListItem's REST API ValidateUpdateListItem call to update fields of an item in a document library without causing new versions to be created. We can generally make this work, but we have Fields of type Note to hold multiline text longer than 255 characters. When we use ValidateUpdateListItem to write these with strings longer than 255 characters, using the InternalName of the field (e.g., My_x0020_Internal_x0020_Name), we get errors indicating that the text is too long.

We are able to write these fields via a MERGE request to the ListItem with exactly the same field name and value in the map provided as the body of the MERGE request.

Any ideas for how to write long text fields via ValidateUpdateListItem?

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,970 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael 17,921 Reputation points

    Hi @Eric Schoen ,

    You need to check the "Allow unlimited length in document libraries checkbox." for the fields. Like the below:


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful