Configure User Profile Elements (v 2.0)

Configuration Overview

You can access the configuration via the menu item User Profiles for Confluence > Profile Elements in the panel on the left side of the administration console (choose Cog icon > General configuration at the top right of the screen).


Image 1: Configuration – Profile Element Overview (click to enlarge)

 

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, therefore they are not available in the configuration.

Additional elements are placed in alphabetical order into the sections “Personal” and “Company”. If the order of the profile elements has been changed once, all new elements will be placed at the end of the list.

You can change the order of the fields by clicking the arrows (↑ ↓). With one click you move the profile element one position up or down.

The section “Special Elements” contains the “About Me“ and you can configure the synchronization of user pictures in this section (Please find a more detailed description further down in the documentation.).

Please note:

  • You cannot change the order of the items of “Special Elements”, because “About Me“ is never displayed as part of the profile card and the profile picture has a fixed position within the profile.
  • The configuration here will be used for all user profiles in the system.

Configuration of Elements – Add and Edit

Click on the “Edit” or “Add Element button to edit an existing item, or insert a new one.


Image 2: Add and Edit Button (click to enlarge)

 

The configuration page of an element allows you to create/edit an element of the user profile.


Image 3: Editing Profile Element (click to enlarge)


Title for this Element

  • A default title (“Title (Default)” and “Title (German)”) for the element can be defined. The information for “Title (Default)” is mandatory. The Default and German Title can only be edited for additional profile elements and not for standard elements.

Help Text for this Element

  •  Additionally, you can define help texts to support the users in filling out the element in their user profile.

Field Type Configuration

  • The “Field Type” of the element determines the kind of element:
    • Textfield: A simple text field
    • Textarea: This is convenient for elements which might carry longer texts (like the “About Me” element) since it renders wiki markup too.
    • Userfield: Carry a single username and supports auto complete while editing a user profile. On the rendered page, you have the typical mouseover popup for this user profile.
    • Textfield with Autocomplete: A text field to type in any text you want. Additionally, while editing it, the system will suggest values that other users have entered in this field before. User Profiles for Confluence suggests values that start with the same letter(s) that you already entered. Auto-completion is also available for several values, if they are separated by commas.
    • Single Select (Radiobuttons): Allows the configuration of pre-defined options. The user can select their profile information from one of these options.
    • Multiple Select (Checkboxes): Allows the configuration of pre-defined options. The user can select their profile information from more than one of these options.
  • Special feature for “User Field”. If this field type is selected, an additional check box “The field value is a DN reference to the user” appears. You can enable this check box to define that the user name in the user directory is a distinguished name.
  • For the synchronization to work, you have to provide a mapping of LDAP attributes to standard or additional user profile elements. It is possible to relate more than one LDAP attribute to one user profile element. The mapping has to be provided at “Mapping for LDAP Attribute(s)” by using the following syntax:
    • Any LDAP attribute has to be given as %%LDAP_ATTRIBUTE%% (i.e. name of an LDAP attribute enclosed in two percent signs (%%)).
    • Multiple LDAP attributes with the same name are supported. If there are such attributes they will be mapped to the same profile field, separated by comma.
    • You can also specify static text (e.g. %%street%% %%number%% in %%city%%)
    • Use %%upp_delete_value%% as a placeholder to delete the data for previously synchronized profile element.

Visibility

  • The check box “Display in People Directory and Custom Mode” defines, if the element will be shown in user profiles, hover cards or profile lists displayed with the display mode ‘custom’
    • It only works, if you have enabled the profile macros, as described in Exchanging Profile Macros.
    • It is not possible for the “About Me” field.

Configuration of Elements – Hide and Delete

Click on the “Hide” (default elements) or “Delete” (additional elements) button to hide an item, or delete it.


Image 4: Hide or Delete Profile Element (click to enlarge)


Existing additional profile elements can be deleted via the button “Delete”. Standard Elements can only be hidden via  “Hide”.

  • The data for hidden elements stays stored as long as the element is hidden and is displayed again after clicking “Show”.
  • When a previously added profile element is deleted, all the data belonging to this element is purged as well, for all users.
  • Hiding standard profile elements only works, if the profile macro has been exchanged.

 

Additional Notes

  • Users cannot edit synchronized profile elements. An element is considered “synchronized”, if the field “Mapping for LDAP Attribute(s)” in the customization form is not empty, even if the value of the mapped LDAP attribute is empty. This restriction only applies to users who are synchronized via LDAP. Local users can edit each profile element.
  • Unknown LDAP attributes are recognized during synchronization and will be ignored. They are listed after each manual synchronization and produce a warning in the logs.
    For the data of the user profiles to be updated, a synchronization has to run first. See the next section for instructions.
  • Though supported, it’s recommended not to create more than 15 to 20 additional user profile elements.
  • Fields of the type “Textfield with Autocomplete”, “Single Select and Multiple Select will not be synchronized.
  • While editing a profile element, only some of the field types can be selected. For fields of some types it is not possible to change the type at all. This is because data stored for fields of a specific type cannot be migrated automatically to data for fields of every other type. E.g. data stored for fields of type “Multiple Select” is completely different from data stored for any other field and therefore, the type of these elements cannot be changed. The following modifications are possible:
    • Textfield ↔ Textarea ↔ Textfield with Autocomplete
    • Userfield (no change possible) 
    • Checkbox (no change possible)
    • Radiobutton (no change possible)

(lightbulb) Demo of user profile configuration (If you cannot see the embedded video below, please check whether you have agreed to the privacy policy of this website or if your browser blocks unsafe content.)

Configure User Profile Picture Synchronization

The synchronization of user pictures from a central storage is supported (since version 1.10). You can find the configuration under “Special Elements” in the settings of User Profiles for Confluence (Administration Console > User Profiles for Confluence > Profile Elements).

 
Image 5: Edit User Profile Picture Synchronization (click to enlarge)



Image 6: Configure User Profile Picture Synchronization (click to enlarge)

 

To synchronize user pictures from a central user directory, you have to enter the attribute name where the picture is stored. The name of the attribute is typically “thumbnailPhoto” for Active Directory and “jpegPhoto” for OpenLDAP. You may set multiple attributes separated by a comma, i.e. “thumbnailPhoto,jpegPhoto”. This is useful, if you have configured multiple directories of different types.

 The synchronization is based on the following features

  • While the synchronization process is running a picture of a user is read out, cropped to a square format and, if necessary, scaled down.
  • Pictures are stored in size 96 x 96, if the original has a sufficient resolution. Otherwise the picture is stored in 48 x 48.
  • If a picture is updated in the picture storage, the user picture will be overwritten in Confluence during the next synchronization.
  • Users can upload their own pictures in Confluence, but after the next synchronization the picture from the picture storage is displayed again.
    • (info) If there is no picture defined for the user in the external storage, the user's uploaded image will be preserved beyond the synchronization task.

 

Stop Synchronization of User Pictures

Leave the field “Attribute Name” blank, if no synchronization is required or if you want to stop the synchronization.

Information about Performance

On systems with many users (1000+), the first synchronization may take very long (several hours) and can impact your system's performance. To improve the process or in case of synchronization errors, it is recommended to enable “Login Synchronization” for a couple of days.  



Back to Top