Limiting the size of an email generated by EmailPlus template rule
Using EmailPlus template rules, how can I place a limit on the size of my generated email?
IBM Rational ClearQuest EmailPlus using template rules to construct a ClearQuest email gives you flexibility on what goes into the email body and the formatting of the email. Using EmailPlus template rules, you can easily construct an email that contains values of your ClearQuest record. This powerful capability can sometimes lead to an email body being too large, or containing too much data for the intended recipient. For example, using the EmailPlus meta-tag:
will include the entire content of the ClearQuest field Notes_Log. This is OK if the field does not have a lot of data, but may not be helpful in most cases if the content is too large as it will span pages before any other data after the Notes_Log appears in the email body. You can limit how much of this data appears in the email body by using EmailPlus's EXPRESSION keyword like so:
#@EXPRESSION::substr(#?Notes_Log?#, 1, 50)@#
This will extract the first 50 characters of the Notes_Log field instead of the entire content, thus limiting how much data is included in the email generated by EmailPlus. You can use the same principle on any other field to which you want to limit how much data to include.
|Software Development||Rational ClearQuest||Not Applicable|
More support for:
Software version: 8.0, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 8.0.1, 188.8.131.52
Operating system(s): AIX, Linux, Solaris, Windows
Reference #: 1650960
Modified date: 25 September 2013