Error while updating people picker
- Sanjaysathyanarayanan
- Posts: 1
- Joined: Wed Sep 20, 2017
I am getting the following error while trying to update a people picker field with current user name using JS SPServices"
"We couldn't find an exact match".
Please help me with a sample piece of code and resolve this issue asap.
Regards,
Sanjay
"We couldn't find an exact match".
Please help me with a sample piece of code and resolve this issue asap.
Regards,
Sanjay
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Try any of these:
Code: Select all
fd.field('User').value(_spPageContextInfo.userLoginName);
Code: Select all
fd.field('User').value(_spPageContextInfo.userEmail);
Code: Select all
fd.field('User').value(_spPageContextInfo.userDisplayName);
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests