Configure People-Picker Auto Suggestion delay

Greetz!

Is there a way to configure the autosuggestion for the people pickers in SharePoint? I seem to recall reading about the possibility of causing the picker to start a query after, say, 5 letters, rather than after the default, which I think is 3).

T

July 21st, 2015 7:00pm

Hi man,

I assume you are using SharePoint Client People Picker

You can actually perform the following JavaScript 

EnsureScript("autofill.js", 'undefined', function() {
SPClientPeoplePicker.SPClientPeoplePickerDict.ctl00_PlaceHolderMain_peoplePicker_TopSpan.EnsureAutoFillControl();         

SPClientPeoplePicker.SPClientPeoplePickerDict.ctl00_PlaceHolderMain_peoplePicker_TopSpan.AutoFillControl.AutoFillMinTextLength = 5        
});

Just make sure you change the 

ctl00_PlaceHolderMain_peoplePicker_TopSpan

to the correct people picker Id (it always ends with "_TopSpan", somehow) that you want to configure the min length for auto suggestion.

Hope it helps!

Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2015 12:15am

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

Other recent topics Other recent topics