|
The plugin is available at the Atlassian Marketplace. To install the plugin, log in as system administrator and navigate to the global administration (Browse > Confluence Admin). Enter the Plugins section and navigate to the "Install"-Tab". Search for "User Profile Plugin" and press "Install".
If the installation was successful, a new item should appear on the left-hand panel in the "Administration" section: "User Profile Configuration". This is where the customization of the user profiles takes place. If this link is not visible, please ensure that all required modules of the plugin are enabled. You can do this by clicking "Plugins" in the global administration and selecting the "User Profile Plugin". Of the listed, modules only the modules named "profile" are not required for the plugin to work. Each other module should be enabled.
Background-Knowledge: The profile-Macro (which is a part of the bundled plugin "Profile Macros") is required to display user data at the people directory, the hover for users and at the personal space. The User Profile Plugin provides its own version of this macro. This version behaves like the one from "Profile Macros", but displays additional created user profile elements too. To benefit from all features of the User Profile Plugin the macros should be exchanged.
The plugin needs a valid license to have all the provided features working. Valid licenses are either full licenses, renewal licenses, or 30-day trials and are available at the Atlassian Marketplace. The license model is the same as Atlassian uses for its products - for further information see Atlassians docmentation.
To get a license and provide it for the plugin, please carry out the following instructions, (also see the screenshot below):
Workaround (if one of the steps above does not work or is not available - this may happen with older Confluence versions)
Without a valid license, the user profiles shows the message "Plugin is not licensed" instead of the user profile data.
Several Configurations can be made, that are listed below .....
You can access the configuration via the menu item "User Profile Configuration" in the panel on the left side of the administration section (Browse > Confluence Admin).
The configuration page allows you to add new elements for user profiles or to edit existing elements. This includes standard elements of the user profiles. The standard elements "Full Name" and "Email" cannot be manipulated in order to protect important system functionalities. Additional elements are placed at the end of the sections Personal and Company.
This configuration will be used for all user profiles in the system.
The configuration page of an element allows you to create/edit an element of the user profile.
|
Demo of user profile configuration
There are 3 ways a synchronization can happen: Periodical or manual for all users (full synchronization), or at login for a single user. During this process, the data of a users profile elements is updated with the values from the configured LDAP repositories according to the mapping that was defined during configuration of the profile fields.
The synchronization is only working in one direction. Data will only be pulled from a repository and will never be written back. This also applies to repositories which are configured as "Read/Write". The synchronization is currently not working for directories of type "Apache Directory Server (ApacheDS)". And it will only work, if the LDAP repository is directly connected to Confluence (see FAQ). |
The manual synchronization can be called from the configuration menu (there is a link at the bottom of the page). After clicking this link, a full synchronization will happen. This means that the profile for every user will be synchronized according to your configuration. After the synchronization a short summary will be shown.
As a full synchronization is a resource consuming task, it should not be started during business hour |
A full synchronization will be executed periodically. The plugin is configured to start this synchronization by default at 1:11 a.m. each night.
You can customize or disable periodical synchronization via "Scheduled Jobs" in the administration. Look for the entry "External User Directory Sync Job" to configure the job that schedules periodical synchronizations. |
Whenever a user logs in, his profile data is synchronized with the user repository. Note that the synchronization will only run for that single user.
Demo of synchronization:
Starting from a particular user, the hierarchical relationships with superiors, colleagues and employees are visualized. The organizational charts contain the full name of the person displayed with a link to the profile, the user picture, as well as the department and the position.
The organizational charts are calculated based on the data the user enter in their profile. One field has to be selected which defines the hierarchy (see the orange marking the screen shot below). Note: Only elements of type "Userfield" are available for selection. All information about superiors, colleagues and employees is automatically calculated based on that field.
Additionally the the behavior of the organization charts that are embedded on the user profile page and in the sidebar of the users personal space can be configured as pictured in the screen shot below.
These features are available via links in the configuration screen in the section "Configure Organization Charts". The configuration screen is available via the menu item "User Profile Configuration" in the panel on the left side of the administration section (Browse > Confluence Admin).
If you are using Organizazion Charts with an external user directory you have to get sure that the synchronized field only contains the username.
Displayed hierarchy is outdated
Organization charts are stored in a cache, which is refreshed periodically (if needed). This means that the organization charts displayed by the macro will not be up to date until the cache is refreshed. The default refresh period is 30 minutes. Depending on how many users are in your instance, the refresh itself may take from some milliseconds for less then 100 users up to several minutes for 10k users or more. So users might notice outdated hierarchies.
The following scenarios might occur:
The refresh of the cache is managed by a scheduled job. If you need to force a cache refresh you can run the job manually. For more details on where to find the scheduled jobs and how to run them manually please refer to the documentation provided by Atlassian. The job is called "Org Chart Cache Updater".
Macro renders an error
As long as the profile element which defines the hierarchy is not configured, the macro will render an error.
The plugin allows you to export all user profile data. A CSV export file is automatically generated after the periodical user synchronization job has finished, or after a manual request for a new export. Generating a new profile export may take some time. The export contains all users matching the export filter that is defined with Lucene search syntax. The CSV files can be downloaded and stored on your local computer.
These features are available via links in the configuration screen in the section "Export of user data". The configuration screen is available via the menu item "User Profile Configuration" in the panel on the left side of the administration section (Browse > Confluence Admin).
The plugin allows you to configure which user is considered as being an "active" user. Only active users are synchronized, exported and considered for organization charts. This is useful if your user repository has users that are not real users - like rooms or computers. You can choose between two policies:
Please note, that users from LDAP directories, which are not yet visible, will be "activated" during synchronization. This means that afterwards they are present in the people directory and can be found when searching.
This configuration is available via a link in the configuration screen (find the screen via the menu item "User Profile Configuration" in the panel on the left side of the administration section (Browse > Confluence Admin))
Uninstall User Profile Plugin via "Global Administration" -> "Plugins"
Enable the “profile” Macro Module of the “Profile Macros” Plugin :
Open the old plugin administration view via http://<server base url>/admin/viewplugins.action
Select the "Profile Macros" plugin and enable Profile Macros