Unconfigurable Profile Info web part

With SharePoint 2013 every user has a One Drive for business where they can find an ‘About me’ page. If you visit this page you will see the activities of the person you are visiting and will see some profile information either for the specific user you are visiting or yourself. The profile information is rendered by a Profile Info web part that is available out of the box. The profile information that you will see depends on what is configured in the user profile, and the web part knows two types. There are a few properties that you will see by default, and there are properties that are only visible when you click the ‘show more’ link.

Unfortunately there is no way to configure this web part and you cannot specify the settings or influence the properties that are shown. Out the box it will look like the following depending on the information you have provided in your profile.

Profile Info WebPart

So when trying to figure out what is shown when and how the web part is configured we decided to take a look in the code as it turned out there are five properties shown by default

  1. Title

    • Department

      • WorkEmail

        • WorkPhone

          • Office 
These five properties will be rendered without clicking the ‘show more’ while all other properties will be shown when clicking. You can however configure the properties that are shown when clicking the show more. To configure these properties you can configure these properties through the the User Profile Service Application. Within the User Profile Service Application you can select the Manage User Properties option and edit the properties you want to show. Each property has Display Settings and a checkbox ‘Show in the profile properties section of the user’s profile page’. When this checkbox is selected (and the property saved) it will show up in the Profile Info web part.

Display settings for User Properties

Unfortunately the web part is sealed so there is no way to manipulate the default shown properties. The only option that you would have there is to write your own app part. Another option would be to use JavaScript to write some render logic as all the properties are available in the DOM within a hidden div with the class ms-profile-hiddenDetails.