Hiding Empty Active Directory Elements

Use the If Not Empty function to hide content in signatures and disclaimers if certain AD variables are not filled for users.

  1. Create a new signature or disclaimer or edit an existing one.
  2. Select the line in the editor in which you want to insert the AD variable.
  3. Click on If Not Empty.
    Figure 1: Open the selection
  4. Select the desired AD variable from the field Variable.
    Figure 2: Select AD variable
  5. Enter the text that you want to hide if the element is not filled for the user.
  6. Confirm with OK.
  7. It is also possible to enter an AD variable in the text to be hidden:
    1. Click on the position in the editor between the If Not Empty tag at which you want to insert the AD variable to be hidden.
    2. Select the AD variable from the drop-down menu.
    Figure 3: If Not Empty - Mobile phone
  8. Click on Save to save the signature or disclaimer.

Empty Active Directory variables are hidden.

Example: Hiding non-existent AD variables

The following signature is created for all users:

Figure 4: Signature in the editor

The following signature is displayed for users with a mobile phone number:

Figure 5: Signature mobile phone

The following signature is displayed for users without a mobile phone number:

Figure 6: Signature without mobile phone