1

Im making a webpart where a user should be able to add other users from active directory, without being able to know their full name etc. The field should be autocompleted in some way (like googles searchfield for example). I have seen examples of this on ordinary websites but will I be able to do this on a custom sharepoint webpart and how do I do it?

2 Answers 2

1

This sounds like a case for the Sharepoint PeopleEditor control. By your description I think it will satisfy all your requirements.

Karine Bosch has a nice blog post about the user control here

Good luck

1
  • This looks very promising. I will try to implement this in my webpart. I´ll get back to you. :)
    – Skaft
    Mar 27, 2013 at 15:28
1

I see you tagged this question with jQuery and ajax, so I assume you want to do this client side (on the browser)... IF you are open to using SPServices library (http://spservices.codeplex.com/), I have created a People Picker widget that you can use in your custom UI... More info. on it here: http://purtuga.github.com/SPWidgets/

1
  • Sounds interesting. I will look into it.
    – Skaft
    Apr 9, 2013 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.