Create Dashboard Report Text Examples

The following <OBJECT> tag in a Dashboard specification displays the title, value and subtitle from the first row of the Create Dashboard Report action’s Texts table. The title is displayed above the value, and the subtitle is displayed below the value.<OBJECT>

<TEXT Index="1" />

</OBJECT>

TEXT objects support the following tags:

  • The BORDER_WIDTH tag specifies the width of the text object’s border in pixels.
  • The BORDER_COLOR tag specifies the color of the text object’s border, as either a symbolic name or a hexadecimal #RGB value. This tag applies if BORDER_WIDTH is greater than 0.

The following example displays the first row of the Texts table using a red border of width 10 pixels.

<OBJECT>

<TEXT Index="1">

<BORDER_COLOR>Red</BORDER_COLOR>

<BORDER_WIDTH>10</BORDER_WIDTH>

</TEXT>

</OBJECT>

The Texts parameter supplied to the Create Dashboard Report action may contain comparison summary results. For example:

TITLE SUBTITLE VALUE
Same   100
Different   200
In1   300
In2   400

In the Dashboard report, each text object may be given a border that matches the color used for its comparison status in the grid control. The color values are as follows:

Status Color Value Description
Same #00CE00 Green used in ‘Same’ icon.
Different #F72118 Red used in ‘Different’ icon.
In1 #CCFFFF ‘In1’ cell shading.
In2 #FFEBFF ‘In2’ cell shading.

The following Dashboard specification may be used to display the TEXT values above, using the appropriate border colors:

<REPORT>

<ROW>

<CELL Span="span1">

<OBJECT>

<TEXT Index="1">

<BORDER_COLOR>#00CE00</BORDER_COLOR>

<BORDER_WIDTH>10</BORDER_WIDTH>

</TEXT>

</OBJECT>

</CELL>

<CELL Span="span1">

<OBJECT>

<TEXT Index="2">

<BORDER_COLOR>#F72118</BORDER_COLOR>

<BORDER_WIDTH>10</BORDER_WIDTH>

</TEXT>

</OBJECT>

</CELL>

<CELL Span="span1">

<OBJECT>

<TEXT Index="3">

<BORDER_COLOR>#CCFFFF</BORDER_COLOR>

<BORDER_WIDTH>10</BORDER_WIDTH>

</TEXT>

</OBJECT>

</CELL>

<CELL Span="span1">

<OBJECT>

<TEXT Index="4">

<BORDER_COLOR>#FFEBFF</BORDER_COLOR>

<BORDER_WIDTH>10</BORDER_WIDTH>

</TEXT>

</OBJECT>

</CELL>

</ROW>

</REPORT>

Create Dashboard Report Actions