Monday, December 8, 2014

More SharePoint 2013 UserProfileService Oddities....

We are using some of the organizational AD attributes slightly different from how they intended the attributes to be used based on our user base.  For example, we used the "company" attribute for what our client uses for "department", the "office" attribute for what they wanted to be called "organization."  We mapped these attributes in the user profile properties to the appropriate names (changing "office" to "Organization" -- noting that the internal SharePoint name is still "Office").  The "Profile Info" web part does some interesting things with this information, however.  By default, it displays:

[Title]
[Company]

Email [email]
Phone [work phone]
Office [Office]

As far as I can tell you cannot change this behavior.  The items listed here appear to be hard-coded in the web part, so if you change how they read it will still display "Email," "Phone," and "Office." If I go into the "Office" property and change the display name, it will not be reflected in this web part.  By default, this property has the "Show in users' profile info" UN-checked.  If you check it the web part will have a link below the information displayed above that says: "display more." Clicking this link will display the "Office" property using the name you edited, for instance it will look like:

CIO
Contoso

Email bart.loesley@contoso.org
Phone 555-555-5555
Office IT

Organization IT

Why even let us change the property name?

No comments:

Post a Comment