1

I have a task list that has a field AssigneTo which takes a user via the people picker. I can get the list item I need but I have no idea how I would access the oject being returned for the AssignedTo field.

I have tried

var theUser = listItem.get_item('AssignedTo')
alert(theUser.get_loginName());

and just using

 listItem.get_item('AssignedTo').toString()

1 Answer 1

1
listItem.get_item('AssignedTo').get_lookupValue();
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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