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="lang-box-pdf">
	<div>
		<div class="google-lang">
			<div id="google_translate_element">
			</div>
			<script type="text/javascript">
					function googleTranslateElementInit() {
						new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,es,fr,it,nl', autoDisplay: false}, 'google_translate_element');
						}
			</script>
			<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
		</div>
		
		<div class="pdf-button">
			<a href="https://confluence.wildix.com/spaces/flyingpdf/pdfpageexport.action?pageId=103024080" alt="Convert to .pdf" title="Convert to .pdf"><img src="https://confluence.wildix.com/download/attachments/14549012/pdf-button-download-wildix-documentation.png"></a>
		</div>
	</div>
</div>


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

Permalink: https://confluence.wildix.com/x/0AUkBg

Table of Contents

Starting from WMS Beta 5.04.20211227.3, 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.

...

Department: UK/ Marketing


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 all PBX users (optional)

2

...

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>

...

.

...

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 for Departments tree (optional)

By default, the separator “/” is used to indicate 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): 

...