iQ.Suite Trailer - how to avoid blank lines
iQ.Suite Tips & Tricks for IBM Domino
If details are used in a trailer that are not available for every user (e.g. cell phone number) the email might contain lines with only a designation and no information.
For example: the line with the cell phone number consists of a heading only. A value has not been entered.
Trailer document: Definition of lines for the cell phone (heading + variable)
The field CellPhoneNumber (cell phone) is empty.
This function is now available to prevent this happening:
[COND]Field name; Information that is only added when required[/COND]
The information to be excluded or included (the heading and the value in this example) is inserted between [COND] and [/COND]. If there is no content in the given field name, the information or text between the commands is not shown.
The definition in this trailer document determines that the line with the cell phone number is only displayed if the "CellPhoneNumber" field contains a value.
The result is a trailer without the cell phone number line.
For the whole line not being shown, it is important to include the line feed between [COND] and [/COND]. That is why the function is split over two lines.
Phone: [VAR]OfficePhoneNumber;My phone number[/VAR][COND]CellPhoneNumber;
Cell phone: [VAR]CellPhoneNumber[/VAR][/COND]
Fax: [VAR]OfficeFaxPhoneNumber;My fax number[/VAR]
Note: This feature has been available in the Advanced Trailer since version 12.4.
Please see the relevant manual for information on working with this function.