Display

 

This topic describes how to supply the Display settings of a script-based alert definition.

The main view of this portlet contains brief descriptions of each alert. The detail page is set with the values in the Alert Detail Text field.The My Alerts portlet displays alerts owned or subscribed to by the current user. The main view of this portlet contains brief descriptions of each alert. The detail page for any given alert contains additional information including a larger description of the alert. These descriptions are set using JEP expressions in the Alert Summary Text field and the Alert Detail Text fields, respectively.

The JEP expression used in these field are intended to produce String results. Typically, an expression in either of these fields will concatenate literal strings and string versions of parameter values and calculations. For example, the Alert Summary Text field may need a string that reads, "Profits in NE region are low." In this case, the name of the region is found in a parameter called RegionName. The JEP expression needed to produce this string would be "Profits in " + RegionName + " region are low." Since these expressions are String expressions, it is necessary to convert numeric values to String values using the str() function. For example, the following expression states the region name and the actual sales:

"Sales in " + RegionName + " were $" + str(ActualSales) Parent topic: Script-based alert definitions


Library | Support | Terms of use |

Last updated: Thursday, March 15, 2007 11:57am EST

This information center is powered by Eclipse technology. (http://www.eclipse.org)