Yes its possible, this is what i use, you can take a div tag to the page
<div id="managerPeoplePicker" ></div>
and below script will initialize it to people picker
function SetPeoplePicker_Multiselect(peoplePickerElementId, allowMultiple, groupId){// arg1:div id,arg2:bool value to allow selection of more than 1 user agr3:optional groupId you want to bind people picker with if (allowMultiple == null) { allowMultiple = true; } var schema = {}; schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup'; schema['SearchPrincipalSource'] = 15; schema['ResolvePrincipalSource'] = 15; schema['AllowMultipleValues'] = allowMultiple; schema['MaximumEntitySuggestions'] = 50; schema['Width'] = ''; SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema); $("#" + peoplePickerElementId + "_TopSpan_InitialHelpText").text('Enter Manager Name'); }
you need to add reference of following js Script references required for PeoplePicker
<SharePoint:ScriptLink name="clienttemplates.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="clientforms.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="clientpeoplepicker.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="autofill.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="sp.RequestExecutor.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="sp.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="sp.runtime.js" runat="server" LoadAfterUI="true" Localizable="false" /> <SharePoint:ScriptLink name="sp.core.js" runat="server" LoadAfterUI="true" Localizable="false" />