Customizing Employee Details Pane in Employee Directory

24.01.2025
Dieser Inhalt ist in Ihrer Sprache nicht verfügbar.

Introduction

Employee Directory is a robust tool designed to streamline the management and display of employee information within an organization. The solution provides enhanced customization options for the employee details pane, allowing organizations to tailor the display of employee information to better suit their needs.

This article provides a comprehensive overview of the customization options available for the details pane in the Employee Directory.

Supported Web Parts

Employee Directory and Employee Directory (Entra ID) support details pane customization.

📝 Note
The New Employees web part does not support the details pane and instead uses a native Microsoft 365 Profile Card, which cannot be customized.

Details Pane Layout

The employee details pane consists of ten sections, nine of which can be customized or hidden. The layout of the details pane is as follows:

Details Pane Layout

Details Pane Layout

Employee Name Section

The Employee Name Section located at the top of the pane, this section includes the user profile image, display name, department, and job title. This section cannot be modified or removed.

📝 Note
The Employee Name section cannot be changed or hidden from the details pane..

Manager and Direct Reports Sections

Manager and Direct Reports Sections: These sections display information about an employee's position within the company's organizational structure. While they do not support customization, they can be hidden if desired. The information for these sections is retrieved from Microsoft Graph, regardless of the selected data source (Entra ID or SharePoint User Profile).

Important
The Manager and Direct Reports sections get information from Microsoft Graph, regardless of the selected data source. Administrators must approve the required permissions for these sections to display data.

Built-in Attributes

The Employee Directory supports twenty-four employee profile properties. The table below shows the attributes available for displaying employee information, including their mapping to Entra ID user objects and the SharePoint Search Service schema:

AttributeTypeEntra IDUser Profile*
About MeStringaboutMeDescription
AddressStringstreetAddressN/A
Business PhonesString collectionbusinessPhonesWorkPhone
Cell phoneStringmobilePhoneMobilePhone
CityStringcityN/A
Company NameStringcompanyNameOrgNames
CountryStringcountryN/A
DepartmentStringdepartmentDepartment
E-MailStringmailWorkEmail
Employee IDStringemployeeIdN/A
Employee TypeStringemployeeTypeN/A
First NameStringgivenNameFirstName
Full NameStringdisplayNameTitle**
ID***StringidDocId
InterestsString collectioninterestsInterests
Job TitleStringjobTitleJobTitle
Last NameStringsurnameLastName
Office LocationStringofficeLocationBaseOfficeLocation
Past ProjectsString collectionpastProjectsPastProjects
ResponsibilitiesString collectionresponsibilitiesResponsibilities
SchoolsString collectionschoolsSchools
SkillsString collectionskillsSkills
StateStringstateN/A
User NameStringuserPrincipalNameUserName
ZIP/Postal CodeStringpostalCodeN/A

* Managed Property of SharePoint search schema.

** If the Title property is empty, the web part uses the PreferredName property.

*** Attribute can not be displayed on the details pane.

The image below shows an example of a built-in attributes section. The web part does not support changing the order in which fields are displayed.

Built-in Attributes Section

Built-in Attributes Section

The Custom Attributes section contains the custom profile attributes specified in the web part settings.

Custom Attributes Settings

Custom Attributes Settings

💡 Tip
The Employee Directory displays built-in and custom employee attributes only if they contain data.

Skills, Interests, and About Me sections display corresponding information about the employee. These three attributes are separated into specific sections since they can only be displayed on the employee details panel.

Free/Busy Status section displays basic free/busy information based on the employee mailbox. In addition, the upper part of the section shows information about the current authorized user's availability for scheduling meetings.

Recent Documents block displays the last five documents the user created or edited.

📝 Note
The Recent Documents section displays only those documents to which the currently signed-in user has rights.

Employee Attribute Display Options

Both built-in and custom attributes have two options for displaying information:

  • Show in list. Display the attribute in the list view
  • Show on card. Display the attribute on the employee details pane

💡 Tip
The Employee Directory (Entra ID) web part allows you to define searchable attributes. Such attributes may be hidden and not displayed in the list or the details panel.

Built-in Attributes Settings

Built-in Attributes Settings

Web Part Settings

To configure the employee details pane:

  1. Open the page in edit mode
  2. Open web part settings
  3. Scroll down the Panel property group and choose the sections you need to display

Configuration of the Built-in Attributes and Custom attributes sections is available using Columns and Custom Columns properties.

Columns properties of the web part

Columns properties of the web part

📝 Note
The web parts display all built-in employee attributes on the details pane by default.

Summary

The Employee Directory offers extensive customization options for the employee details pane, allowing organizations to tailor the display of employee information to meet their specific needs.

With support for both built-in and custom attributes, as well as additional sections like Skills, Interests, and Recent Documents, the Employee Directory provides a comprehensive and flexible solution for managing employee information.

By leveraging these customization options, organizations can ensure that the most relevant and useful information is readily accessible to users.

Teilen