Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Setting People Picker With Name Of Logged In User

$
0
0

Marc, first of all, thanks for your great work with SPServices!!

Just wanted to inform you that I also spent some time investigating why SPFindPeoplePicker function didn't want to work for me. Then I discovered that the cause was exactly the same as described bychrisrwebb. The reason for that is that we copied the example from the$().SPServices.SPFindPeoplePicker documentation page. The syntax on that page is ok, but the example code is:

var salesRep = $().findPeoplePicker({
peoplePickerDisplayName: "Sales Rep",
valueToSet: "APPTIX\\emullerbeck53"
});

which of course doesn't work. Just wanted to inform you so you might correct the example in order to make it easier (read: working in the first try) for other "lazy" people like me who just copy the example... :)

Tina.

 

var salesRep = $().findPeoplePicker({
peoplePickerDisplayName: "Sales Rep",
valueToSet: "APPTIX\\emullerbeck53"
});

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>