Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Html
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Html
<div class="fb-like" data-href="#" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>

...


Scroll export button
scopecurrent
template-id0fa09813-8b86-460a-aa1d-ef450a80e9ce
quick-starttrue
add-onScroll PDF Exporter

Info

This step-by-step guide leads you through the process of activation of the Departments tree feature and building a multilevel hierarchy of Departments.

Created: January 2022

Updated: October 2023

Permalink: https://confluencewildix.wildixatlassian.comnet/wiki/x/0AUkBgfh-OAQ

Table of Contents

Introduction

Starting from WMS Beta 5.04.2021122720220309.31, there is a possibility to create a multilevel hierarchy of Departments, which are displayed in a tree view on the Colleagues tab in Collaboration. This can be useful for organisations with a large number of users.


Note

Note: Creating multilevel hierarchy of Departments with a tree view is not supported in x-bees. 

1.  Fill Fill out User Departments in WMS 

...

To build a multilevel hierarchy of Departments, when adding/ editing a user (or in case of users import via a CSV file), indicate the Department path using the separator “/”, "|", or "\". For example: 

Department: UK/ Marketing

Image Added


Note

Notes:

  • If user’s Department field in WMS is empty, Group name is automatically used as Department. This doesn’t apply to imported users, their Department fields remain empty.
  • It may take up to 10 minutes for the changes to apply and get displayed in Collaboration.
  • Users that have no Department data are added to the Other section on the Colleagues tab.
  • If the Department name contains “/” it should be replaced with another character. If required, you can change the default separator: Change the default separator (optional)
  • It is recommended to replace long names with shorter ones.
  • By default, the Colleagues tab displays only users added to the roster. To have all users displayed, follow these instructions: Display the instructions in point 3. Display all PBX users (optional)

2. Activate Departments tree via configuration file

You need to enable the Departments tree feature on the PBX via the config file. To make any changes to config files, access them via SSH as root:

nano-tiny /etc/<sub-directory>/<config file name>

To activate the Departments tree, add the following line in /rw2/etc/env.custom.ini:

Code Block
DEPARTMENTS_AS_TREE=true

By default, the value of the parameter is “false” and the Colleagues tab in Collaboration displays the list of Groups. When the parameter is set to “true”, the Colleagues tab displays Departments.

Change the default separator (optional)

...

  • of this guide. 

Starting from WMS 6.04.20231012.1, it is possible to add a user to multiple departments. For this, enter the necessary department names, separated by commas in the Department field:

Image Added

2. Change the default separator for Departments tree (optional) 
Anchor
changeseparator
changeseparator

When indicating the Department path in WMS -> Users -> Edit User -> Departments field. Department field, the default separator "/" should be used. For example: 

Department: UK/ Marketing

To change the default separator to another character ("\" or "|"), edit the following parameter in the /rw2/etc/env.custom.ini:

Code Block
DEPARTMENTS_TREE_SEPARATOR="\"

3. Display all PBX users (optional)

By default, only people added to the roster are shown on the Colleagues tab. To display all PBX users, add the following line to the /rw2/etc/env.custom.ini file:

...

Warning

Current limitation:  The status of users that are not added to the roster is not displayed.

...

4. Navigate Departments tree in Collaboration 

Warning

Current limitation: Enabling/ disabling the functionality and any Applying changes in the Departments tree may take up to 10 minutes to apply.

When the feature is enabled on the PBX, the The Colleagues tab displays the Departments tree (or simply a list of Departments, if there is no multilevel Departments structure): 


Image AddedTo navigate between different Department levels, just click on the arrow icon and choose the necessary Department.  

...

<div class="fb-like" data-href="#" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>
Note

Notes:

  • Users that don’t belong to any Department are added to the section Other.
  • In case all PBX users are displayed on the Colleagues tab (if configured on the PBX side), the status of users not belonging to the roster is currently not available.
Html


Macrosuite divider macro
dividerTypetext
dividerWidth70
emoji{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}
textColor#000000
dividerWeight2
labelPositionmiddle
textAlignmentcenter
iconColor#0052CC
fontSizemedium
textNot finding the help you need? Join the Facebook group to ask a question!
emojiEnabledfalse
dividerColor#DFE1E6
dividerIconbootstrap/CloudsFill

Button macro
buttonTextFacebook
isButtonShadowOntrue
emoji{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}
buttonBorderColor#4267b2ff
buttonColor#4267b2ff
buttonNewTabfalse
buttonFontColor#ffffff
buttonSizemedium
buttonIconColor#ffffff
buttonWidthDetection46
buttonHoverColor#ffffff
buttonIconfont-awesome/FacebookSquare
buttonTypeicon_left
buttonLink{"link":"https://www.facebook.com/groups/wildixtechwizards","source":"direct"}
buttonNewLink
buttonRadius3
buttonShadow0
id228
emojiEnabledfalse
buttonWidth20