SharePoint 2013 People Picker - Show addtional properties from AD - e.g. phone number

hi,

how can we extend the Sharepoint 2013 People picker to auto suggest results from the people picker to show name , and phone number or other ad properties?

thanks

July 16th, 2015 6:14am

Hi,

As I understand, you want to extend the people picker to auto suggest results to show other properties in SharePoint 2013.

You could achieve it programmatically.  You could use the following code snippet to show auto suggest box by JavaScript. And you could use the client side people picker in sharepoint-hosted apps.

var peoplePicker = this.SPClientPeoplePicker.SPClientPeoplePickerDict.peoplePickerDiv_TopSpan;

peoplePicker.AddUserKeys(loginIdOrEmailOrSearchText, false); //true shows the auto-suggest box, false resolve the user

For more detailed information, you could refer to the articles below.

The article below is about SharePoint 2013: Client Side People Picker.

http://ranaictiu-technicalblog.blogspot.com/2014/11/sharepoint-2013-client-side-people.html

The article below is about Use the client-side People Picker control in SharePoint-hosted apps.

https://msdn.microsoft.com/en-us/library/office/jj713593(v=office.15).aspx

Best regards,

Sara Fan

Free Windows Admin Tool Kit Click here and download it now
July 17th, 2015 3:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics