Set User in SharePoint People Picker Custom Control in SharePoint Online
SP.SOD.loadMultiple(['sp.core.js', 'sp.runtime.js', 'sp.js', 'autofill.js', 'clientpeoplepicker.js', 'clientforms.js', 'clienttemplates.js'], function () {
SetAndResolvePeoplePicker("pplNominationSubmitted", item.SubmitterName.EMail)
SetAndResolvePeoplePicker("pplDirectReportingManager", item.NomineeDirectRMName.EMail)
SetAndResolvePeoplePicker("pplIndividualUser", item.NomineeName.EMail)
});
Comments