Tutorial

Tutorial 5: Reports 99
Creating a Basic Report Page
5
Ensure that Public and Deprecated are unchecked.
6
Set Preferred Width and Preferred Height. Actually, the page size is controlled
elsewhere. For now, set Preferred Width to 540 and Preferred Height to 500.
7
Leave Refresh Interval blank.
8
Leave Priority at None.
9
Set the Purpose(s) check boxes. Since the component is a report, check the box
labeled Report and leave all the other boxes unchecked. Click Apply.
10
Leave Custom Purpose(s), Relevant Role(s) and Allowed Role(s) untouched.
11
Fill in the Comments and Context Help fields with “A test that displays a simple
report page.
Define a value for the context “title”:
You’ll find this context useful if you embed the report in a container, such as a
Grid, and then choose Show Title in the layout configuration for the report, which
in this case must be purposed as a Pagelet as well as a Report.
To set the contexts for the report title and to generate a list of host objects:
1
Select the Context tab.
2
In the Additional context section, click the Add Context Entry button ( ).
A new row appears.
3
Click on the Edit icon ( ) to launch the Edit dialog.
4
Choose String from the drop-down list.
5
Type title in the Key field.
6
Type Utilization Report - Hosts in the String Value text box.
7
In the dialog, click Save.
To define a context entry for the Host Model query that returns a single host model:
1
In the Additional context section, click the Add Context Entry button ( ).
A new row appears.
2
Click on the Edit icon ( ) to launch the Edit dialog.
3
Choose Query Selection from the drop-down list.
4
Type hostmodel in the Key field.