Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to update the Manager and Profile Picture properties for the UPS from SQL. The problem is that these two fields are stored as text in SQL but SharePoint expects a Person field and URL respectively. Has anyone been able to find a workaround to this?

share|improve this question
1  
How are you trying to update profile data? Via the object model or via the BCS? –  Thomas Vochten Jan 17 '13 at 14:56
    
Sorry for the late response. I am trying to do it via BCS. I have created and External Content Type that is pulls the data from SQL and added to my synchronisation connections. I can map fields like First Name, Last Name, Email Address etc without a problem but having a problem with the Manager and Picture fields. It appeats you cannot map text fields to these two? –  threela Jan 23 '13 at 7:55
add comment

1 Answer

As Thomas indicates this is commonly done either by Creating a connection that imports the data from a BCS connection tied to a foriegn key like email address or account name. If coding is you thing you can use the SharePoint Object model to update the User Profile Properties my instantiating a UserProfileManager and then setting the properties. Either way you should never (ever) go directly to the SQL database.

share|improve this answer
    
Sorry, I did not explain myself well. I am not doing it directly from SQL. I am using BCS. The problem comes when I try to map my Manager field (which is a text field in the External Content Type) to the Manager Property in UPS. –  threela Jan 23 '13 at 7:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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