peoplepicker

Retrieve Email Address from sharepoint people picker using javascript

谁说我不能喝 提交于 2019-12-01 08:28:32
问题 I am using SharePoint 2007. I have a custom aspx page in the layouts folder containing a people picker ( PeopleEditor ) control. Users can enter n nunmber of users in the control. I want to retrevie the users' emails from the people picker control using javascript, can someone please help. 回答1: General People fields are pretty complicated, but I'll do my best to explain what I've found out from doing some work with them while updating my library (SPUtility.js). You can take a look at the

Setting Address Book image for a contact doesn't seem to work

蹲街弑〆低调 提交于 2019-11-29 02:39:54
I'm trying to set the contact image with the code below. I am not seeing any errors, and the image is not saved to the contact entry in the address book. Please help! I must be doing something wrong... - (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person { [abcontroller setDisplayedPerson:person]; UIImage *im = [UIImage imageNamed:@"image1.jpg"]; NSData *dataRef = UIImagePNGRepresentation(im); CFErrorRef error; ABAddressBookRef addressBook = ABAddressBookCreate(); NSLog(@"Error:",error); if

Setting Address Book image for a contact doesn't seem to work

旧时模样 提交于 2019-11-27 17:12:54
问题 I'm trying to set the contact image with the code below. I am not seeing any errors, and the image is not saved to the contact entry in the address book. Please help! I must be doing something wrong... - (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person { [abcontroller setDisplayedPerson:person]; UIImage *im = [UIImage imageNamed:@"image1.jpg"]; NSData *dataRef = UIImagePNGRepresentation(im);