2

I tried getting usernames out of People picker (multi users) in Display form.

I tried getFieldValue() from spjs-utility. It shows null/empty.

1 Answer 1

0
       var getIDPeoplePicker=$("div[Title='Column Name of the people picker here']").id;
        var ppobject = SPClientPeoplePicker.SPClientPeoplePickerDict [getIDPeoplePicker];
     var usersobject = ppobject.GetAllUserInfo();
    usersobject.forEach(function (index) {
      usersobject[index].DisplayText;
       usersobject[index].EntityData.Email;
         });

Your Answer

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

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