This project has moved and is read-only. For the latest updates, please go here.

SPCascadeDropdown and SharePoint 2013

Apr 4, 2014 at 2:31 PM
Do you know when you will be able to support SharePoint 2013 with SPCascadeDropdown functionality?
We have used your library extensively in SharePoint 2010, but now are in the planning phase for upgrading our environment to SharePoint 2013.

Please advise.
Apr 4, 2014 at 5:29 PM

It has worked in 2013 since day 1.

Apr 4, 2014 at 8:40 PM
Thanks for the quick reply.
What got us confused is that when you go to the SPServices.SpCascadeDropdowns documentation page, it says it is certified for SharePoint 2007 and 2010.
There is no mention of SharePoint 2013.
For our upgrade we are using SPService 0.7.2 with jQuery 1.10.1 and we were able to confirm that the SpCascadeDropdowns work.
We earlier had issues with SpService 2014.1 when I asked the question.

Also, with SPServices 0.7.2, we are not able to get ().SPFindPeoplePicker to return value of the people picker. It is always returning empty string.
Any thoughts?

Apr 4, 2014 at 9:00 PM
Edited Apr 4, 2014 at 9:00 PM
Well, going back to 0.7.2 is going to give you other problems. For instance Office 365 Update Changes ‘Display Name’ on Required Fields. This will also hit you if you apply the December 2013 CU to 2013.

SharePoint evolves, so SPServices has to as well.

Apr 4, 2014 at 11:49 PM
For SharePoint 2013 do you recommend using SPService.2014.01?
Also, sorry to be a pain, but what about the SpFindPeoplePicker?

Apr 5, 2014 at 1:05 AM
I recommend 2014.01 regardless of SharePoint version.

Is SPFindPeoplePicker not working in 2014.01 or is that issue in 0.7.2?

Apr 5, 2014 at 11:51 PM
Per your suggestion, I have switch to SpService 2014.01 and jQuery 1.10.1
The SPFindPeoplePicker is still now working for me with SharePoint 2013.
This is the code snippet which I have.
The People picker's display name is "New User" and the value I am trying to set it to is: "Dahake, Pritam" who is a valid user.
The "currentValue" of the "user" variable after the statement gets executed is empty.
I have also tried to set the "valueToSet" property on the "user" object, but that too does not set the users value.
var user = $().SPServices.SPFindPeoplePicker({
    peoplePickerDisplayName: "New User",
    valueToSet: "Dahake, Pritam",
    checkNames: true
user.valueToSet = "Dahake, pritam";

Any help would he greatly appreciated.

Apr 6, 2014 at 4:22 AM
Any errors? Have you tried stepping through the code?

Apr 6, 2014 at 3:12 PM
There are no errors, but I did debug the SPServices2014.01 and what I see is that the piece of code below in "SPFindPeoplePicker' function does not work for SharePoint 2013.

$.fn.SPServices.SPFindPeoplePicker = function(options) {

Line# 3882 // If a value was provided, set the value
Line# 3883 if (opt.valueToSet.length > 0) {
Line# 3884 thisContents.html(opt.valueToSet);
Line# 3885 }

the "opt' object does have all the appropriate values in it.