Exchange Resource Manager

Support Forum
Welcome to Exchange Resource Manager Sign in | Join | Help
in
Home Forums

Tip #10: Truncate unnecessary response text

Last post 11-14-2006, 4:56 PM by ERM Moderator. 0 replies.
Sort Posts: Previous
  • Tip #10: Truncate unnecessary response text

     11-14-2006, 4:56 PM

    The [b:d8af403d83]Truncate[/b:d8af403d83] macro can be used with other ERM macros to truncate the text string from that point forward [u:d8af403d83]if the argument is null[/u:d8af403d83]. For instance, there is no point continuing a resource's response text if a macro value is empty. See the following example:

    [color=blue:d8af403d83]SAMPLE MACRO VARIABLES USING TRUNCATE MACRO FUNCTION[/color:d8af403d83]

    To schedule meetings with <%ResourceDisplay%> you must be in one of the following Distribution Lists: <%DLRestrictionList%>.
    Meeting Request Declined. [b:d8af403d83]<%Truncate[/b:d8af403d83](ResourceContactEmail[b:d8af403d83])%>[/b:d8af403d83]

    To request permission, please contact <mailto:<%ResourceContactEmail%>

    [color=blue:d8af403d83]RESULT IF MACRO VALUE IS NOT NULL[/color:d8af403d83]

    To schedule meetings with Conference Room 1 you must be in one of the following Distribution Lists: Res1; Res2; Res3.
    Meeting Request Declined.

    To request permission, please contact <mailto:ResourceContact@domain.com>

    [color=blue:d8af403d83]RESULT IF RESOURCECONTACTEMAIL MACRO VALUE IS NULL[/color:d8af403d83]

    To schedule meetings with Conference Room 1 you must be in one of the following Distribution Lists: Res1; Res2; Res3.
    Meeting Request Declined.
Brought to you by: