The Exclaimer Community

Exclaimer Forums
Welcome to The Exclaimer Community Sign in | Join | Help
in Search

Q20080317 - Avoiding blank AD fields appearing in email messages

Last post 03-17-2008, 4:29 PM by joshuajjc. 0 replies.
Sort Posts: Previous Next
  •  03-17-2008, 4:29 PM 2402

    Q20080317 - Avoiding blank AD fields appearing in email messages

    SYMPTOMS

    To avoid empty AD fields appearing in your Exclaimer Mail Utilities formatted email disclaimer, signature, etc. You must add an Exclaimer IF statement. For example, you want to include a mobile telephone number field in your organization’s email messages from your AD users. Some of your AD users don’t have a work mobile telephone number but you don’t want the field to appear blank in the email message.

    RESOLUTION

    In the WYSIWYG editor -

    {if({Mobile Number})} Mobile: {Mobile Number}
    {endif}
     

    To avoid blank lines appearing in RTF and plain text formats, you need to ensure the "{endif}" is located at the beginning of the next line of text. Please refer to the example below:

    {Firstname} {Lastname}
    Telephone: {Telephone}
    {if({Mobile Number})} Mobile: {Mobile Number}
    {endif}{Reply to Sender}  

    The IF statement will remove the text (‘Mobile:’) and field value from the email message if the AD field Mobile is blank.

    MORE INFORMATION 

    Replacing blank AD fields with other fields in email messages

    To avoid empty fields when you actually want fields to appear you can use an Exclaimer IF ELSE statement. For example, this will allow you to insert an alternative field if the one you are IF testing isn’t present. If a mobile phone number field isn’t present your alternative could be the office telephone number.

    In the WYSIWYG editor -
    {if({Mobile Number})} Mobile: {Mobile Number}{else}Tel: {Telephone}
    {endif}

    This statement will use the telephone text heading and field if the Mobile Number field is blank.

     APPLIES TO

    •  Exclaimer Mail Utilities 4.5x and above

     


    Joshua Clarke
    Exclaimer Support
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems