cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
crliu
New Member

how to clear the value of the column of person type

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?

crliu_1-1652661179471.pngcrliu_2-1652661197580.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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.

 

View solution in original post

4 REPLIES 4
vivekpande18
Super User
Super User

Hi @crliu , 

 

To update single value person  fields. 

ColumnInternalNameId : -1

To know more

https://youtu.be/vbx6-BSiFzs

 

To update multi value person field. 

ColumnInternalNameId : {'results':[0]}

 

To know more

https://youtu.be/6VtACLHmgAg

 

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

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,814)