Custom Attributes in Vitextra Employee Directory

11/29/2020
Applicable to: Employee Directory

This article explains how to add custom attributes to the Vitextra Employee Directory web part for both Azure AD and User Profiles data sources.

Introduction

The Vitextra Employee Directory web part supports custom attributes starting from version 3.2.15.
You can add attributes for both User Profiles and Azure AD data sources.

Custom Attributes

To manage custom attributes, open the web part configuration pane and select Custom Columns under the Data Source heading:

Web Part Configuration Pane

Web Part Configuration Pane

In the data editor, enter the schema name and caption for each additional attribute:

Adding Custom Attributes for Azure AD

Adding Custom Attributes for Azure AD

Click Save and republish the page.

The additional attributes then appear in the employee details pane:

Custom attributes on the details pane

Custom attributes on the details pane

The schema name of custom fields depends on the data source the web part uses.

Azure AD

When the data source is Azure AD, the available user attributes are defined in the User resource type.

💡 Tip
Because Employee Directory uses the Microsoft Graph API to retrieve data from Azure AD, only properties of the user resource type are available for use.

Not all properties of the user resource type support the $select operation. If you reference an unsupported property, the following error message may appear:

Not Supported Error

Not Supported Error

User Profiles

When User Profiles is used as the data source, you can reference Managed Properties as custom attributes on the details pane.

Adding Custom Attributes for User Profiles

Adding Custom Attributes for User Profiles

💡 Tip
See the How to Create a Custom Searchable User Profile Property guide for more details.

See Also

Share