Closed joladev closed 9 years ago
SP.SOD.executeOrDelayUntilScriptLoaded(function () { var userField = form.find("input[id$='ClientPeoplePicker_EditorInput']").get(O); setTimeout(function() { var peoplepicker = SPClientPeoplePicker.PickerObjectFromSubElement(userField) peoplepicker.AddUserKeys(urlParams.AssignedTo); }, 500); }, "clientpeoplepicker.js");
SP.SOD.executeOrDelayUntilScriptLoaded(function () { var userField = form.find("input[id$='ClientPeoplePicker_EditorInput']").get(O); setTimeout(function() { var peoplepicker = SPClientPeoplePicker.PickerObjectFromSubElement(userField) peoplepicker.AddUserKeys(urlParams.AssignedTo); }, 500); }, "clientpeoplepicker.js");