0

Firstly I'm open to suggestions if people have better solutions or ideas. I would like to be able to create a list with a 'username' field that will pull additional fields from the information stored in the User Profile Service.

People picker columns do offer some of the information I want but not the users picture or other fields I would like to use. The other benefit of a BCS connection is that it will use the 'username' set in the first field and pull through other columns of information based on that first field. Additionally it would update when they or we update their profile.

Is it possible to connect to BCS to the information stored in the User Profile Service?

Thanks

5
  • Do you plan to use the additional fields for something, or is it just for an overview for your users? Oct 23, 2012 at 18:13
  • In this instance it would be just for displaying to users a list of 'site contacts' With the site contacts information coming from the users profile and therefore kept up to date in one place.
    – mtwelve
    Oct 24, 2012 at 9:45
  • This is basically a duplicate of the following: sharepoint.stackexchange.com/questions/89663/… Mar 17, 2014 at 15:44
  • BTW, I do give an example of "no code" in my answer to that question. Mar 17, 2014 at 15:47
  • (I didn't see this was old and updated by community...) Mar 17, 2014 at 15:49

2 Answers 2

1

If its just for a "list" of people, maybe it would be better to use people search.

Here is a link to a solution that maybe would fit your requirements: How to: Create a Simple SharePoint 2010 People Directory

It's a solution without use of code, just "standard" SharePoint.

Basically it just uses the OOTB search webpart with a predefined query.

2
  • Noticed now you wrote "Site Contacts", that wouldn't work that well with the above solution maybe if its based on only a subset of users. Oct 24, 2012 at 11:04
  • Its a neat idea and one I could use in the future but due to the state of our AD and User Profiles it wouldn't return the correct results
    – mtwelve
    Oct 24, 2012 at 13:34
0

mtwelve,

Why do you want to create BCS connection... that doesn't makes sense! You can easily get all the information required from just People field, you will need LoginName... There is something called UserProfileManager and UserProfile objects under Microsoft.Office.Server.UserProfiles

How to: Retrieve a User Profile, and you can view all the properties available for UserProfile here

You can get Picture of the user by PictureURL field and so on! and use them wherever you need!

3
  • The end game is for a 'Site Contacts' list that pulls the information from the users profile. With each field being pulled based on the chosen username for that item/row. I would prefer to avoid a custom solution as I have no experience with Visual Studio and would ideally just create a list template.
    – mtwelve
    Oct 23, 2012 at 16:36
  • And I am a developer/programmer :) always think about Visual Studio solution ;).. Oct 23, 2012 at 16:54
  • As an example of why you might want to do this... I work for a joint venture and we use the AD from one of our parent companies. So the COO, the root of our org chart, has a manager in AD that he reports to. This means we have to use BCS to manage most of our HR related fields. Mar 17, 2014 at 15:47

Your Answer

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

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