Tutorial

Tutorial 5: Reports 101
Creating a Basic Report Page
The Edit - Title dialog opens.
3
Choose title in the Input Key drop-down list and click Save.
Since you have previously set this context to Utilization Report - Hosts, that is the
title that will appear if you embed the report in a container and set its Show Title
property to true.
4
Click the Edit icon ( ) from the Value column on the Page Orientation row and
choose Portrait.
Adding a Sample Page to the Report
You will create pages for the report later on in this tutorial, but for now we just want to
test basic report construction. There is an existing table in vFoglight that has the same
context as you will need later on, so we will use it for now.
Next we’ll add this table to the report.
To add the table to the report:
1
Select the Views tab.
2
Click Add ( ) on the menu bar.
The Select a View to add to the Report dialog appears. Choose Hosts Table - for
Given Hosts under Hosts > Host and click Save.
3
Choose Body from the Function drop-down list.
The other possible choices are Header and Footer. You will add a header and a
footer to your report later on in this tutorial.
4
Choose None from the New Page drop-down list.
The other possible choices are Before, After, or Both. The settings control the
placement of page breaks. You can choose to have a page break before, after or
both before and after this view. We have chosen None because this is a single
page report. There are no other views.
5
The Report has been configured. Click Save ().
To see the Report, click the Test PDF button ( ) on the toolbar. A dialog
appears that allows you to set a value for the time range. Choose a range during which
you know some activity has occurred and then click the Results button. If you have
Acrobat Reader installed, you should see a page containing a table with entries similar
to that shown in the figure. The number of rows depends on the number of hosts found
by the Host Model T5 query. Set currentTime, pageNumber, and reportTitle with
representative values.