Cisco Cisco IPCC Web Option Technical References
3-10
Template Design Guide Using InfoMaker for Cisco Unified ICM/Contact Center Enterprise & Hosted Editions, Release 8.0(1)
Chapter 3 Creating New Custom Templates
Create the SQL Statement
Step 4
Right-click the Value field.
a.
Select Argument from the popup menu. This opens a dialog box displaying the list of defined
arguments.
arguments.
b.
Select the argument appropriate for your column. Then click Paste.
Step 5
As necessary, to add additional Where criteria for the start and end dates, click the Logical drop-down
list and select AND.
list and select AND.
See
, for an example of a Where clause with
start_date and end_date arguments.
Note
You can further narrow the scope of the report by adding additional Where criteria that do not
use arguments.
use arguments.
Create a Computed Column for the SQL Statement
You can create computed columns in both real-time and historical templates to reflect calculations based
on the values of two or more database columns.
on the values of two or more database columns.
Note
You can also insert computed fields when you design the layout in the Report Painter. However,
computed fields created in the Report Painter do not support WebView’s threshold capabilities or
dynamic sorting. Computed columns created in the SQL Select Painter do.
computed fields created in the Report Painter do not support WebView’s threshold capabilities or
dynamic sorting. Computed columns created in the SQL Select Painter do.
It is best to create computed columns in the SQL Select Painter and to use the Report Painter to modify
their formatting, if necessary—for example, by changing the format of the query result from seconds to
minutes.
Step 1
Locate the Compute tab at the bottom of the Select Painter. This tab initially displays as a blank field.
Step 2
In the Computed Columns field, enter a name for the column followed by an equal (=) sign. The
computed column name cannot contain spaces.
computed column name cannot contain spaces.
Step 3
Right-click to the right of the equal sign. Select Columns from the popup menu.
Step 4
Select the column you want to use and click Paste. This adds the column to the Computed Columns
field.
field.
Step 5
Enter the symbol for the mathematical operation you want to perform (for example: +, -, /, *).
Step 6
To add the next column for the mathematical expression, right-click again in Computed Columns.