Skip to main content
7 votes
Accepted

SharePoint Client People Picker change event

There are multiple events which you can handle for a Client People Picker Control. You can find detailed descriptions of those events this blog. To get the onChange of people picker, use following ...
Yayati's user avatar
  • 1,738
6 votes
Accepted

How to update a renamed Active Directory User in the SharePoint People Picker

To update the name in SharePoint People Picker and other lists, execute the following PowerShell Command: $web = (Get-SPSite https://Environment).rootweb $web | Set-SPUser -Identity "DOMAIN\username" ...
TempaC's user avatar
  • 1,657
6 votes

REST expand people column

On SharePoint Online, to get the login name (account name) from a user field in a list, you need to select the Name property: .../_api/web/lists/getbytitle('ListName')/items(60)?$select=MyUserField/...
Jason Lee's user avatar
  • 351
4 votes
Accepted

Trigger SPClientPeoplePicker to search for string

Check out the global variable SPClientPeoplePicker.SPClientPeoplePickerDict. It's an object which is containing the clientside peoplepicker of the current page. You should be able to identify your ...
Mx.'s user avatar
  • 3,333
4 votes

Resolve & Set value in PeoplePicker using JSOM function

//Works with SharePoint 2010 $("div[title='People Picker']").text(strUserName); //Works with SharePoint 2013 try { //SharePoint 2013 var ...
Monica Jagani's user avatar
4 votes
Accepted

How to restrict Client side people picker not to allow duplicate users?

You can do this by checking On Control Resolved Users Changed event for the Client People picker. Please find more info here for Client People Picker Events. You can try following script block to ...
Yayati's user avatar
  • 1,738
4 votes

SharePoint Client People Picker change event

You need to get the picker id for SharePoint Client People Picker change event. I have got the same using OnUserResolvedClientScript as below. Here to get the picker div I have followed the approach ...
Richendra kumar ravi's user avatar
4 votes
Accepted

Allow to add multiple user in people picker field

change your user field in SharePoint list settings to Allow multiple selections: yes open infopath and let infopath refresh the fields or perform a manual refresh on data/refresh fields menu then ...
Mike's user avatar
  • 245
4 votes

SPO: Workflow not working

Here are the detailed steps to achieve your requirements. For If condition you need to check the created by of current Item. Use Update List Item action to set the value of PWID column. Set PWID ...
Dhruvil Prajapati's user avatar
3 votes
Accepted

SharePoint Online SPUtility GetValue empty for People Picker

No you cannot directly pick values from People picker fields. Reason being a people picker field is nothing but a lookup to a list where SharePoint stores various users. Some of the values associated ...
mohd tahir's user avatar
  • 2,406
3 votes
Accepted

Validate Peoplepicker column to check if user belongs to a specified group

You check by below code and call CheckCurrentUserMembership() on PreSaveAction() function CheckCurrentUserMembership() { var clientContext = new SP.ClientContext.get_current(); var allGroups = ...
Sunil Sahu's user avatar
  • 1,768
3 votes

SharePoint 2013 People Picker Field Should Not be current User

As we know that PeoplePicker columns cannot be used in List Validation settings, So I don't think there is any OOTB option to achieve this requirement. So, what is workaround? Here I am sharing ...
Aakash Maurya's user avatar
3 votes

SharePoint Client People Picker change event

A bit more detailed with Yayati's direction:
Shahidul Haque's user avatar
3 votes
Accepted

How to store users from another site in a list - PowerShell

I would look into using SPWeb.EnsureUser(loginName) (documentation here, although it's not super informative on its own). That method will create a new SPUser object for the site where you are trying ...
Dylan Cristy's user avatar
  • 12.8k
2 votes

How to set the people picker field using jquery in sharepoint 2013 to current user

//Resolve the user in people picker field var peoplePicker = this.SPClientPeoplePicker.SPClientPeoplePickerDict.h_Requestor_PPkr_TopSpan; //Select the People Picker AKA Get the instance of the People ...
Shane Gib.'s user avatar
2 votes
Accepted

Using SharePoint 2013 PeoplePicker with jQuery promise

// Run your custom code when the DOM is ready. $(document).ready(function () { initializePeoplePicker('peoplePickerDiv'); }); // Render and initialize the client-side People Picker. function ...
Sunil Sahu's user avatar
  • 1,768
2 votes
Accepted

How do I set the value of a person field with an InfoPath Rule?

In short, no. This question is a bit old, but I just spent an afternoon chasing around the exact same thing. OP described the scenario perfectly, and having read a dozen different posts on the topic, ...
Chris Vuocolo's user avatar
2 votes
Accepted

CAML query filter for items where the current user is in a "Person or Group" field

You can use the Membership query element. https://msdn.microsoft.com/en-us/library/office/aa544234(v=office.14).aspx The following example defines a filter for cases where the user is either ...
Nsevens's user avatar
  • 478
2 votes

Domain users not showing in People Picker

After some research, I got things working with this script, following instructions from here. I had to add my domain to People Picker's set of AD domains that it searches, complete with a domain user ...
NSouth's user avatar
  • 121
2 votes

Auto populate people picker from current user

Please check below code. $(document).ready(function() { var userName= $().SPServices.SPGetCurrentUser(); $().SPServices.SPFindPeoplePicker({ peoplePickerDisplayName: "Owner", valueToSet: ...
Trimantra Software Solution's user avatar
2 votes

Maximum User limit of People Picker Field

The maximun limit for: SharePoint 2010 - 96 SharePoint 2013 - default 200 https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ms442451(v%3Doffice.14) It can be ...
mod8ik's user avatar
  • 21
2 votes
Accepted

SPO - How to autofill( ClientPicker in SPHosted-AddIn with JSOM

If you want to set the value in client people picker, You will need below things. --Client Side People Picker Id --Account Id or Email of User/group which you want to set in client side people picker ...
Samir Khimani's user avatar
2 votes

how to remove tick from people picker?

You can hide that tick icon by jQuery: $('a[title="Check Names"]').hide(); You can inspect the same element and make sure the title attribute of the a tag must be Check Names. If it is a different ...
Pradip R.'s user avatar
  • 2,297
2 votes

Sharepoint 2013 - Custom Display Form not displaying correctly SPD

I have discovered the problem I needed to include To Display content from Rich textbox or enhanced Rich textbox, need to use below property disable-output-escaping="yes" to the end of the xsl:...
garvon-77's user avatar
  • 589
2 votes

Sharepoint 2013 - People picker does not work in custom form

Default behaviour limits the ClientPeoplePicker to return only users from SharePoint, the ClientPeoplePicker does not return SPGroups or Active Directory Groups or Security Groups nor Distribution ...
Akshay Randive's user avatar
2 votes

Remove users from People Picker - find where they are granted access

PeoplePicker uses three sources to find users: HiddenUserList of a SiteCollection (which you already found with MemberShipGroupID=0) SharePoint UserProfileService (which you already cleared) Finally ...
MHeld's user avatar
  • 5,123
2 votes

Is there a way to use outlook mail groups as a Sharepoint group?

SharePoint groups and domain groups are different, also you can use outlook e-mail groups for granting permissions. If you want to see outlook groups at people picker, you need to define outlook group ...
newbie's user avatar
  • 1,737

Only top scored, non community-wiki answers of a minimum length are eligible