Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying to use a web service call in Nintex Workflow to add a new item to a list. I'm using the web service because the user only has read permissions to the list. What syntax is needed to set the person/group field?

<Batch OnError="Continue" ListVersion="1">
  <Method ID="1" Cmd="New">
    <Field Name="Title">Hey there</Field>
    <Field Name="ContentType">Registration</Field>
    <Field Name="CourseID">{ItemProperty:CourseID}</Field>
    <Field Name="EmployeeEmail">{WorkflowVariable:userAccount}</Field>
  </Method>
</Batch>

I've tried passing in domain/account, id;#display_name, email address with no success. If I omit the EmployeeEmail field from the batch command, the insert works fine.

share|improve this question

closed as off topic by Alex Angas May 18 '11 at 0:12

Questions on SharePoint Stack Exchange are expected to relate to SharePoint within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Closed as off topic as described here. Please leave any comments about the closure you have there if desired. –  Alex Angas May 18 '11 at 0:13

1 Answer 1

up vote 3 down vote accepted

id;#display_name seems to be the correct method, I found I was overwriting my variable someplace else, that was causing my batch command to fail.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.