This project has moved. For the latest updates, please go here.

SPFindPeoplePicker in 2014.01?

Apr 29, 2014 at 1:05 AM

Been having great success with the SPServices, I decided to try another. However, the object I get back on SP2013, when using $().SPServices.SPFindPeoplePicker is empty. I also tried $().SPFindPeoplePicker - but it appears to have been removed from 2014.01 since all I get is a method undefined error. Have you certified this on SP2013 yet?

console verifies jQuery fo 1.10.2 and SPServices is loaded.

Here's the code:
<script type="text/javascript" language="javascript">

console.log("$ version:" + $.fn.jquery);
console.log("window.jQuery version:" + window.jQuery.fn.jquery);

$(document).ready(function () {
  console.log("SPServices loaded? = " + ($.fn.SPServices ? "YES" : "NO") );

// Find the Requestors People Picker in the form
var myObject = $().SPServices.SPFindPeoplePicker({peoplePickerDisplayName: "Requestor", valueToSet: "", checkNames: false});
var myAttrib = myObject.currentValue;