Staff directory and org chart
This procedure is correct for at least Workplace v3.5.
Overview
Workplace’s staff directory and organisation (org) chart features allow you to view information about staff members within your organisation, as well as who these staff members report to.
The staff directory and org chart features in Workplace are populated from the following data sources:
-
Staff directory - CSV or database
-
Org chart - CSV only
This page describes the processes for populating both of these features in Workplace from two sample CSV data sources, which can be obtained through Workplace’s admin mode. These CSV files are:
-
sample-staff-data.csv- contains information about staff data, such as the user’s name, job title, etc. -
sample-org-chart-data.csv- contains information about the structure of the org chart.
The staff directory and org chart features are not configured by default in Workplace.
Use the instructions provided on this page to implement the staff directory and org chart features within your Workplace instance.
Prerequisites
To set up staff directory and org chart features for your Workplace instance, you require a Workplace user whose account type is system administrator in Workplace. These people are known as Workplace system administrators.
Read more about morphing an existing Workplace user into a Workplace system administrator in Changing Account Types of the Squiz Matrix documentation. An existing Workplace system administrator can morph an existing Workplace user to a Workplace system administrator account type.
A Squiz staff member with server-level access to your Workplace instance itself. These people are known as Workplace server administrators.
Last, ensure the general prerequisites have been met before continuing.
Obtain, update and upload the sample org chart CSV data source in Workplace
As a Workplace system administrator, obtain the sample CSV data from Workplace by downloading it from admin mode. You can then modify this data with your organisation’s actual organisational data, and then upload it through Workplace admin mode.
Obtain and download the sample org chart CSV file from Workplace
-
Ensure you are logged in to Workplace as a Workplace system administrator and have accessed admin mode.
-
In the asset map side nav on the left, locate the Squiz Workplace Mk III > Squiz Workplace - Site > Site Configuration > Data > Sample data asset and expand its tree.
-
Right-click the sample-org-chart-data.csv asset and choose Details.
-
On the right, under the Details section, click the file’s name (Title) in the File field, to download the
sample-org-chart-data.csvfile.
Update the org chart CSV file
-
Open the
sample-org-chart-data.csvfile in a text or CSV file editor and familiarise yourself with its values, described in Table 1 below. Each row depicts a position within your organisation and the people/staff members who occupy that position. -
Remove the sample data and begin updating the following fields for each person within your organisation:
Table 1. sample-org-chart-data.csvfieldsField name Data type Description Required? positionIdinteger
A unique ID number for the person’s (i.e. staff member’s) position.
Yes
parentPositioninteger
The
positionIdvalue of the person’s manager (i.e. the person this staff member reports to).Yes *
positionTitlestring
The title of the person’s position.
This value relates to thepositionId.Yes
positionOffsetinteger
A value used to sort the person visually within the same level (i.e. team) of the organisation’s hierarchy, where the people within this team report to the same manager.
For example, within a team, a person with apositionOffsetvalue of 10 appears higher in the org chart than people withpositionOffsetvalues from 0 to 9, as well as any negativepositionOffsetvalues.No
orgUnitIDinteger
A unique ID number for the team that the person belongs to.
Yes
orgUnitstring
The name of the team that the person belongs to.
This value relates to theorgUnitID.Yes
parentUnitIDinteger
The
orgUnitIDvalue of the parent team of the person’s own team - i.e. the parentorgUnitIDvalue of the person’s ownorgUnitandorgUnitIDvalues.Yes **
usernamesstring
The username/s of the person/people occupying this position.
Multiple people may occupy a given position when, for example, one member of staff acts in a position on behalf of another, or two people may job-share and/or hold the same position.
To specify a single user for a given position, simply specify that user’s username.
To specify multiple usernames, separate each username with a 'pipe' (|), for example,username|usernameorusername|username|username.
Specifying multiple usernames, results in these users appearing within the same position box in the org chart.
To indicate such people in the org chart with their own position boxes, create a new row for each person with the same data values above. However, alter thepositionIdandusernamesvalues accordingly, along with any other appropriate field values.
NOTE: Ensure that the usernames specified here match a username in thesample-staff-data.csvfile below. If not, then a username defined in thissample-org-chart-data.csvfile which is not defined in thesample-staff-data.csvfile will lead to "An error occurred while loading this staff profile!" appearing when that user’s position box is clicked in Workplace’s org chart view.No ***
* This value is not required for the top person in the organisation’s hierarchy - for example, a CEO.
** This value is not required for the top level/team in the organisation’s hierarchy - for example, the "Executive team".
*** To indicate an unfilled position, leave this field empty.
-
Ensure you have saved the completed CSV file with a new name to indicate the version number (and remove
sample-from the name) - e.g.org-chart-data-v1.csv.
Upload the org chart CSV file to Workplace
-
Ensure you are logged in to Workplace as a Workplace system administrator and have accessed admin mode.
-
In the asset map side nav on the left, locate the Squiz Workplace Mk III > Squiz Workplace - Site > Site Configuration > Data > Org Chart Data asset and expand its tree.
-
Right-click the Org Chart CSV asset and choose Details (and Acquire Locks on the right if necessary).
-
On the right, under the Upload Org Chart CSV file section, click Choose file and choose the
org-chart-data-v1.csvyou modified above. -
Click Commit to save your org chart changes.
Obtain, update and upload the staff directory CSV data source in Workplace
As a Workplace system administrator, obtain the sample CSV data from Workplace by downloading it from admin mode. You can then modify this data with your organisation’s actual organisational data, and then upload it through Workplace admin mode.
Obtain and download the sample staff directory CSV file from Workplace
-
Ensure you are logged in to Workplace as a Workplace system administrator and have accessed admin mode.
-
In the asset map side nav on the left, locate the Squiz Workplace Mk III > Squiz Workplace - Site > Site Configuration > Data > Sample data asset and expand its tree.
-
Right-click the sample-staff-data.csv asset and choose Details.
-
On the right, under the Details section, click the file’s name (Title) in the File field, to download the
sample-staff-data.csvfile.
Update the staff directory CSV file
-
Open the
sample-staff-data.csvfile in a text or CSV file editor and familiarise yourself with its values, described in Table 2 below. Each row depicts a person/staff member within your organisation, along with relevant details. -
Remove the example data and begin updating the following fields for each person within your organisation:
Table 2. sample-staff-data.csvfieldsField name Data type Description Required? usernamestring
A unique name for the person (i.e. staff member).
This value should typically match the username of the person’s login credentials.Yes
first_namestring
The person’s first name, which appears in search results and their staff directory entry.
Yes
last_namestring
The person’s last name, which appears in search results and their staff directory entry.
Yes
display_namestring
The person’s preferred display name in Workplace. Any value specified in this field overrides any value defined in the
first_nameand/orlast_namefields. However, the person can still be found when searching with thefirst_nameandlast_namefield values.Yes
emailstring
The person’s email address.
Yes
work_phonestring
The person’s phone number or extension.
You can use any format to specify the phone number or extension value. However, for the benefit of your Workplace users and to minimise confusion, use the same format consistently when specifying thework_phonevalue for each person in this CSV file.No
supervisorstring
The
usernameof the person’s manager (i.e. the person this staff member reports to).No
position_idstring
A unique ID number for the person’s (i.e. staff member’s) position.
NOTE: Theposition_idvalue specified here should match apositionIdvalue in the
sample-org-chart-data.csvfile above. However, bear in mind that omitting this value has no impact on the functionality of the staff directory and/or org chart.No
position_titlestring
The title of the person’s position.
This value relates to theposition_id.
NOTE: Ensure that theposition_titlevalue specified here matches apositionTitlevalue in the
sample-org-chart-data.csvfile above. If not, then the same person will have differing position titles displayed in the staff directory and org chart features of Workplace.
That is, theposition_titledefined in this
sample-staff-data.csvfile is displayed for the person in the staff directory and the differentpositionTitlevalue (associated with the same person’susernamevalue) defined in thesample-org-chart-data.csvfile is displayed in the org chart.Yes
org_unit_team_idinteger
A unique ID number for the team that the person belongs to.
NOTE: Theorg_unit_team_idvalue specified here should match anorgUnitIDvalue in the
sample-org-chart-data.csvfile above. However, bear in mind that omitting this value has no impact on the functionality of the staff directory and/or org chart.No
org_unit_team_namestring
The name of the team that the person belongs to.
This value relates to theorg_unit_team_id.
NOTE: Ensure that theorg_unit_team_namevalue specified here matches aorgUnitvalue in the
sample-org-chart-data.csvfile above. If not, then the same person will have differing team names displayed in the staff directory and org chart features of Workplace.
That is, theorg_unit_team_namedefined in this
sample-staff-data.csvfile is displayed for the person in the staff directory and the differentorgUnitvalue (associated with the same person’susernamevalue) defined in thesample-org-chart-data.csvfile is displayed in the org chart.Yes
avatarstring
The web path to person’s profile image. Images should be no less than 200px x 200px (72 dpi).
If no URL is available, leave this field blank.No
location_desk_numberstring
The person’s desk number.
You can use any string format to specify this value. However, for the benefit of your Workplace users and to minimise confusion, use the same format consistently when specifying thelocation_desk_numbervalue for each person in this CSV file.No
locationstring
The name of the location of the person’s physical workplace.
Again, you can use any string format to specify this value. However, for the benefit of your Workplace users and to minimise confusion, use the same format consistently when specifying thelocationvalue for each person in this CSV file.No
expiryISO date
The date when this user’s account should be archived.
No
-
Ensure you have saved the completed CSV file with a new name to indicate the version number (and remove
sample-from the name) - e.g.staff-data-v1.csv.
Upload the staff directory CSV file to Workplace
-
Ensure you are logged in to Workplace as a Workplace system administrator and have accessed admin mode.
-
In the asset map side nav on the left, locate the Squiz Workplace Mk III > Squiz Workplace - Site > Site Configuration > Data > Staff Data asset and expand its tree.
-
Right-click the Staff Data CSV asset and choose Details (and Acquire Locks on the right if necessary).
-
On the right, under the Upload Staff CSV file section, click Choose file and choose the
staff-data-v1.csvyou modified above. -
Click Commit to save your staff directory changes.
Configure scheduled updates to the staff directory and org chart CSV files
As a Workplace server administrator, configure the Workplace server’s crontab file to ensure that data updates to the staff directory CSV file are reflected in Workplace.
Contact your Squiz Workplace server administrator to configure these scheduled updates for you.