Home » A-Z guides to set up and use Wizdom’s modules » Department Staff » Department Staff web part settings
PRINT

Department Staff web part settings

Configuring the Department Staff web part

The ‘Department Staff’ web part is the web part that displays people and their contact information on the intranet.

To add the Department Staff web part to a page, perform the following steps:

1) Edit the web page and click ‘Add a web part’ to open SharePoint’s web part gallery.

2) The Department Staff web part is found in the ‘Wizdom’ folder.

After adding the Department Staff web part to a page, you can configure it.

To set up the Department Staff web part, perform the following steps:

Press the ‘Edit’ icon in the web part and a dialog will take you through the settings.

Template lets you select the template to controls the look and feel of the Department staff web part. Templates for the Department Staff web part are found and edited in the Department Staff module administration.

Items per page lets you decide how many employees you will display on the same page.

Next, decide the group of people the web part will display:

Ticking ‘User’s department’ will make the web part display employees from the current user’s department.

Advanced info: User’s department search utilizes the following SharePoint Search Syntax: DepartmentUsers:DEPARTMENTNAMETicking

‘Select department’ will allow you to select a department from a drop down box. The web part will then display the employees from this department.

 

Ticking ‘Select people manually’ will let you selects employees or groups individually by the use of search. The web part will display the people you select.

Advanced info: The select people manually search uses a different syntax in cloud and on-premises solutions. In cloud solutions the following syntax is used: ACCOUNTNAME1 OR ACCOUNTNAME2 OR …
In on-premises solution this syntax is used: accountname=”ACCOUNTNAME1″ OR accountname=”ACCOUNTNAME2″ OR …

Ticking ‘Use explicit search query’ will allow you to specify a custom search query you want the web part to use, e.g. if you want the web part to display all employees from three specific departments. This is an advanced method and requires knowledge about SharePoint search syntax.

Under ‘Advanced’, the ‘Search result source (GUID)’, also, allows you to specify a custom search query you want the web part to use. Using this method you will first create a SharePoint search result and then enter this ID. 

The ‘Managed properties’ field allows you to add data the web part will display for each user, e.g. if you want the web part to, also, show title and skills of the listed employees. Data entered is the SharePoint search managed property mapped to the property in the User Profile Service.

The Department Staff web part gets its data from SharePoint’s user profiles.

Overview of templates for the Department staff web part

The Employees from a department module comes with two templates for the web part ‘Persons from department’.
Vertical List

The template ‘DefaultList’ lists employees from a specific department or individually selected users in one vertical row.

Horizontal List

The template ‘horizontal-list’ lists employees from a specific department or individually selected users in rows beside each other. As the horizontal-list template is responsive, the number of columns will change depending on screen size.