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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,568)