Google+

Lists.UpdateListItems and Person Field

Leave a comment

July 10, 2017 by Ruaan Harmzen

The Lists.asmx web service enables you to CRUD items on a SharePoint list (https://msdn.microsoft.com/en-us/library/lists.lists.updatelistitems(v=office.12).aspx)

The default options for the person field however does not work e.g:

  • i:0#.w|domain\username
  • Display Name
  • domain\username
  • Email

To make it work pass one of the following:

  • Single user = [ID];#[Person]
  • Multi user = [ID];#[Person];#[ID];#[Person];#[ID];#[Person];#
  • -1;#Display Name
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: