I want to clear the value of the column of person type by submitting the SharePoint HTTP request, but I set this item as null in JSON, and the value is not cleared after running. What should I do?
Solved! Go to Solution.
Hi @crliu ,
Please make sure inv_tnt is your column's internal name.
It should be inv_tntId : -1. You should append Id in internal name of the column.
Thanks,
Vivek
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Hi @crliu ,
To update single value person fields.
ColumnInternalNameId : -1
To know more
To update multi value person field.
ColumnInternalNameId : {'results':[0]}
To know more
Thanks
Vivek
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
I set it to ["inv_tnt": - 1], execute and report an error:
While trying to read the value of the navigation property, the 'privileevaluue' node that contains non null values was found, but it was intended to read the 'fiertertivevalue' node containing the 'startarray' node, 'startobject' node, or null value.
Hi @crliu ,
Please make sure inv_tnt is your column's internal name.
It should be inv_tntId : -1. You should append Id in internal name of the column.
Thanks,
Vivek
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Succeeded. Thank you very much